mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Handled the case where nickmods got all run out.
This commit is contained in:
parent
bba1d274e0
commit
a23fbcfb1c
@ -551,7 +551,9 @@ class Irc(IrcCommandDispatcher):
|
||||
|
||||
def do433(self, msg):
|
||||
"""Handles 'nickname already in use' messages."""
|
||||
self.sendMsg(ircmsgs.nick(self._nickmods.pop(0) % self.nick))
|
||||
if not self._nickmods:
|
||||
self._nickmods = conf.nickmods[:]
|
||||
self.sendMsg(ircmsgs.nick(self._nickmods.pop(0) % self.originalNick))
|
||||
do432 = do433
|
||||
|
||||
def doError(self, msg):
|
||||
|
Loading…
Reference in New Issue
Block a user