diff options
-rw-r--r-- | data/rbot/plugins/nickserv.rb | 2 |
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] |