irc: Fix not channel found reply call in JOIN command
patch ec512178f7ed832b1c27969506ffe07b1a6eb2ac
Author: E. Bosch <presidev@AT@gmail.com>
Date: Sun Feb 14 01:37:19 CET 2021
* irc: Fix not channel found reply call in JOIN command
diff -rN -u old-irgramd/irc.py new-irgramd/irc.py
--- old-irgramd/irc.py 2024-11-23 02:26:06.875171336 +0100
+++ new-irgramd/irc.py 2024-11-23 02:26:06.875171336 +0100
@@ -165,7 +165,7 @@
if channel.lower() in self.irc_channels.keys():
await self.join_irc_channel(user, channel, True)
else:
- await reply_code(user, 'ERR_NOSUCHCHANNEL', (channel,))
+ await self.reply_code(user, 'ERR_NOSUCHCHANNEL', (channel,))
async def handle_irc_ping(self, user, payload):
self.logger.debug('Handling PING: %s', payload)