react to pre-reg ERR_ERRONEUSNICKNAME the same as ERR_NICKNAMEINUSE
This commit is contained in:
parent
fb93d59c43
commit
64935c7a8d
1 changed files with 1 additions and 1 deletions
|
@ -182,7 +182,7 @@ class Server(IServer):
|
|||
self._pending_who.popleft()
|
||||
await self._next_who()
|
||||
|
||||
elif (line.command == ERR_NICKNAMEINUSE and
|
||||
elif (line.command in {ERR_NICKNAMEINUSE, ERR_ERRONEUSNICKNAME} and
|
||||
not self.registered):
|
||||
if self._alt_nicks:
|
||||
nick = self._alt_nicks.pop(0)
|
||||
|
|
Loading…
Reference in a new issue