diff options
-rw-r--r-- | lib/rbot/core/utils/filters.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/filters.rb b/lib/rbot/core/utils/filters.rb index 6d560c91..69f6f876 100644 --- a/lib/rbot/core/utils/filters.rb +++ b/lib/rbot/core/utils/filters.rb @@ -110,7 +110,7 @@ module ::Irc if has_filter?(tlkey) debug "Overwriting filter #{tlkey}" end - @filters[tlkey] = DataFilter.new &block + @filters[tlkey] = DataFilter.new(&block) if group gkey = group.to_sym @filter_group ||= {} |