summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/nickserv.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-12 23:48:54 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-04-12 23:48:54 +0200
commit3768dba0fc5513fbf3631185a8c87d36b5339989 (patch)
tree78cd3ee7fa88b90a091bc99933a5e6907b03cb14 /data/rbot/plugins/nickserv.rb
parent407909dcd0f19e2d3240b84bbd75a8cf9967535b (diff)
+ delegate notice() for NoticeMessage
Diffstat (limited to 'data/rbot/plugins/nickserv.rb')
-rw-r--r--data/rbot/plugins/nickserv.rb3
1 files changed, 1 insertions, 2 deletions
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