patch 26503ca5b65894059c3fff76cc5462c45f357428
Author: E. Bosch <presidev@AT@gmail.com>
Date: Fri Feb 4 19:31:39 CET 2022
* irc: Fix when nick is not allowed (when the user is already registered) in
NICK command
hunk ./irc.py 176
- await self.reply_code(user, 'ERR_PASSWDMISMATCH')
+ if user.registered:
+ await self.reply_code(user, 'ERR_ERRONEUSNICKNAME', (nick,))
+ else:
+ await self.reply_code(user, 'ERR_PASSWDMISMATCH')