patch 116330830a0e51f1298aa6577eabdaacb8158d03
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Feb 14 00:38:08 CET 2021
* irc: Add error reply when there is a command not allowed when not registered
Fix PING command: not allowed if not registered
hunk ./irc.py 82
+ else:
+ await self.reply_code(user, 'ERR_NOTREGISTERED', ('',), '*')
hunk ./irc.py 99
- (IRC_PING_RX, self.handle_irc_ping, False),
+ (IRC_PING_RX, self.handle_irc_ping, True),
hunk ./irc_replies.py 53
- 'ERR_NOTREGISTERED': ('451', 'Not registered'),
+ 'ERR_NOTREGISTERED': ('451', ':Not registered'),