summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-09-30 15:10:11 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-09-30 15:10:11 +0000
commitd5257757e7cbe3067ba3befb8ea98dd9cd3f5c54 (patch)
tree947e3d223686c6ae40779e7da0d73af508e5cc18
parentbd68a53c74b1e8e9877af68743ca382fadf26d9b (diff)
this seems to work for more people..
-rw-r--r--data/rbot/plugins/nickserv.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/nickserv.rb b/data/rbot/plugins/nickserv.rb
index a2f455c5..6e7a26b9 100644
--- a/data/rbot/plugins/nickserv.rb
+++ b/data/rbot/plugins/nickserv.rb
@@ -72,7 +72,7 @@ class NickServPlugin < Plugin
def listen(m)
return unless(m.kind_of? NoticeMessage)
- if (m.sourcenick == "NickServ" && m.message =~ /\002IDENTIFY\002/)
+ if (m.sourcenick == "NickServ" && m.message =~ /IDENTIFY/)
debug "nickserv asked us to identify for nick #{@bot.nick}"
if @registry.has_key?(@bot.nick)
@bot.sendmsg "PRIVMSG", "NickServ", "IDENTIFY " + @registry[@bot.nick]