summaryrefslogtreecommitdiff
path: root/lib/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-10 19:17:21 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-10 19:17:21 +0200
commit27ef2c2c2ba14f02c63ee0d74aba4ff2a470dfa6 (patch)
tree63e3e801f61beb359ff6bb6ca1efe4b362e443d6 /lib/rbot
parent36f349f3f005ab105c7e665dfee00b9b7e8d6939 (diff)
filters: suppress a warning
Diffstat (limited to 'lib/rbot')
-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 ||= {}