Adjust NickServ trigger to work with both FreeNode and OFTC

This commit is contained in:
str4d 2016-07-01 09:46:12 +00:00
parent b656417030
commit 718265e83e
1 changed files with 1 additions and 1 deletions

View File

@ -344,7 +344,7 @@ class NickServRelayer(IRCRelayer):
#Identify with nickserv if requested
if IRCRelayer.formatUsername(self, user).lower() == NickServRelayer.NickServ:
msg = message.lower()
if msg.startswith("this nickname is registered and protected"):
if msg.startswith("this nickname is registered"):
log.msg("[%s] Password requested; identifying with %s."%(self.network, NickServRelayer.NickServ))
self.msg(NickServRelayer.NickServ, "IDENTIFY %s"%self.password)
elif msg == "ghost with your nickname has been killed." or msg == "ghost with your nick has been killed.":