mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 19:19:32 +01:00
Bugfix with 433 handling.
This commit is contained in:
parent
151b2f829b
commit
d1bb8ce02f
@ -589,7 +589,7 @@ class Irc(IrcCommandDispatcher):
|
||||
|
||||
def do433(self, msg):
|
||||
"""Handles 'nickname already in use' messages."""
|
||||
if self.nick != self.originalNick:
|
||||
if self.nick != self.originalNick or not self.afterConnect:
|
||||
newNick = self.nickmods.next() % self.originalNick
|
||||
log.info('Got 433: %s is in use. Trying %s.', self.nick, newNick)
|
||||
self.sendMsg(ircmsgs.nick(newNick))
|
||||
|
Loading…
Reference in New Issue
Block a user