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 7400a115..c60d93b0 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 =~ /This nickname is owned by someone else/) + if (m.sourcenick == "NickServ" && m.message =~ /IDENTIFY <?password>?/) debug "nickserv asked us to identify for nick #{@bot.nick}" if @registry.has_key?(@bot.nick) @bot.sendmsg "PRIVMSG", "NickServ", "IDENTIFY " + @registry[@bot.nick] |