summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 20:32:23 +0000
committerTom Gilbert <tom@linuxbrit.co.uk>2005-09-09 20:32:23 +0000
commitd63dac137c32c46b3c9b3c757ded2b9bd9d336be (patch)
treec688312b38ccfe2a401ac7f8b1f69b8d3e6f6f28 /data
parent563195560ffb1b151853f7c0b08abbd3b5d43d5f (diff)
fix for localised nickservs
Diffstat (limited to 'data')
-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 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]