summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/rbot/core/utils/filters.rb2
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 ||= {}