aboutsummaryrefslogtreecommitdiffstats
path: root/event
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-01-28 17:23:18 +0800
committerobscuren <geffobscura@gmail.com>2015-01-28 17:23:18 +0800
commitf3e78c8f3cd2196ef70a41f298b6df556543d581 (patch)
treee3db9bf06e87b1259a43161338447e6f82cf4c42 /event
parentc54a85ee644bf02dd79e43e6a0ee3528bb39a815 (diff)
downloadgo-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.gz
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.bz2
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.lz
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.xz
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.tar.zst
go-tangerine-f3e78c8f3cd2196ef70a41f298b6df556543d581.zip
reworking messages => log
Diffstat (limited to 'event')
-rw-r--r--event/filter/old_filter.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/event/filter/old_filter.go b/event/filter/old_filter.go
index 1a9a88173..c30a7e584 100644
--- a/event/filter/old_filter.go
+++ b/event/filter/old_filter.go
@@ -77,13 +77,13 @@ out:
}
self.filterMu.RUnlock()
- case state.Messages:
+ case state.Logs:
self.filterMu.RLock()
for _, filter := range self.filters {
- if filter.MessageCallback != nil {
- msgs := filter.FilterMessages(event)
+ if filter.LogsCallback != nil {
+ msgs := filter.FilterLogs(event)
if len(msgs) > 0 {
- filter.MessageCallback(msgs)
+ filter.LogsCallback(msgs)
}
}
}