mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Fixed bug #820259, where he was killing himself if his nick didn't exactly match in case.
This commit is contained in:
parent
8eed3f0982
commit
7973dc8921
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user