mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +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