From 63a0599d92b453c025ce3e0ea133b7f6c1af6b7a Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 14 Jul 2008 12:05:29 +0200 Subject: [PATCH] plugins.rb: commands were being delegated even from ignored messages --- lib/rbot/plugins.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb index a6d1f543..aefc036c 100644 --- a/lib/rbot/plugins.rb +++ b/lib/rbot/plugins.rb @@ -943,7 +943,7 @@ module Plugins if method.to_sym == :privmsg delegate('ctcp_listen', m) if m.ctcp delegate('message', m) - privmsg(m) if m.address? + privmsg(m) if m.address? and not m.ignored? delegate('unreplied', m) unless m.replied else delegate(method, m) -- 2.32.0.93.g670b81a890