Fixed bug #820259, where he was killing himself if his nick didn't exactly match in case.

This commit is contained in:
Jeremy Fincher 2003-10-09 05:49:01 +00:00
parent 8eed3f0982
commit 7973dc8921

View File

@ -80,8 +80,9 @@ class Services(privmsgs.CapabilityCheckingPrivmsg):
return
(self.nick, self.password, nickserv, chanserv) = \
privmsgs.getArgs(args, needed=2, optional=2)
self.nickserv = nickserv or 'NickServ'
self.chanserv = chanserv or 'ChanServ'
self.nick = ircutils.IrcString(self.nick)
self.nickserv = ircutils.IrcString(nickserv or 'NickServ')
self.chanserv = ircutils.IrcString(chanserv or 'ChanServ')
self.sentGhost = False
self._ghosted = re.compile('%s.*killed' % self.nick)
irc.reply(msg, conf.replySuccess)