From 3768dba0fc5513fbf3631185a8c87d36b5339989 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 12 Apr 2008 23:48:54 +0200 Subject: + delegate notice() for NoticeMessage --- data/rbot/plugins/nickserv.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'data/rbot') diff --git a/data/rbot/plugins/nickserv.rb b/data/rbot/plugins/nickserv.rb index 87688952..5e4f86a5 100644 --- a/data/rbot/plugins/nickserv.rb +++ b/data/rbot/plugins/nickserv.rb @@ -179,8 +179,7 @@ class NickServPlugin < Plugin end end - def listen(m) - return unless(m.kind_of? NoticeMessage) + def notice(m) return unless m.source.downcase == ns_nick.downcase case m.message -- cgit v1.2.3