irc: Fix PONG response
patch 2f62e5c9ccde4b855ae31ef552f6dbcc552ea9ba
Author: E. Bosch <presidev@AT@gmail.com>
Date: Wed Jan 20 01:09:41 CET 2021
* irc: Fix PONG response
diff -rN -u old-irgramd/irc.py new-irgramd/irc.py
--- old-irgramd/irc.py 2024-11-23 06:04:44.102746796 +0100
+++ new-irgramd/irc.py 2024-11-23 06:04:44.102746796 +0100
@@ -108,8 +108,8 @@
async def handle_irc_ping(self, payload):
self.logger.debug('Handling PING: %s', payload)
- await self.send_irc_command(':{} PONG :{}'.format(
- self.hostname, payload
+ await self.send_irc_command(':{} PONG {} :{}'.format(
+ self.hostname, self.hostname, payload
))
async def handle_irc_privmsg(self, nick, message):