From 27ef2c2c2ba14f02c63ee0d74aba4ff2a470dfa6 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 10 Apr 2008 19:17:21 +0200 Subject: filters: suppress a warning --- lib/rbot/core/utils/filters.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/rbot') 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 ||= {} -- cgit v1.2.3