mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-28 05:32:51 +01:00
Don't change our nick on 433 if we're using our default nick.
This commit is contained in:
parent
6f8fafb04c
commit
0dcaf942ef
@ -572,7 +572,9 @@ class Irc(IrcCommandDispatcher):
|
||||
|
||||
def do433(self, msg):
|
||||
"""Handles 'nickname already in use' messages."""
|
||||
self.sendMsg(ircmsgs.nick(self.nickmods.next() % self.originalNick))
|
||||
if self.nick != self.originalNick:
|
||||
newNick = self.nickmods.next() % self.originalNick
|
||||
self.sendMsg(ircmsgs.nick(newNick))
|
||||
do432 = do433
|
||||
|
||||
def doError(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user