patch f2668e35a4bdc7d647754056e9e7ad0d2260ed72
Author: Peter Bui <pbui@bx612.space>
Date: Mon Sep 16 02:22:38 CEST 2019
* Set irc_nick to username
diff -rN -u old-irgramd/irtelegramd.py new-irgramd/irtelegramd.py
--- old-irgramd/irtelegramd.py 2024-11-22 22:21:53.318499960 +0100
+++ new-irgramd/irtelegramd.py 2024-11-22 22:21:53.318499960 +0100
@@ -125,6 +125,8 @@
async def handle_irc_user(self, username, realname):
self.logger.debug('Handling USER: %s, %s', username, realname)
+ self.irc_nick = username
+
await self.send_irc_command(':{} 001 {} :{}'.format(
self.hostname, self.irc_nick, 'Welcome to IRTelegramD'
))