diff options
author | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-09 20:32:23 +0000 |
---|---|---|
committer | Tom Gilbert <tom@linuxbrit.co.uk> | 2005-09-09 20:32:23 +0000 |
commit | d63dac137c32c46b3c9b3c757ded2b9bd9d336be (patch) | |
tree | c688312b38ccfe2a401ac7f8b1f69b8d3e6f6f28 /data | |
parent | 563195560ffb1b151853f7c0b08abbd3b5d43d5f (diff) |
fix for localised nickservs
Diffstat (limited to 'data')
-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] |