From 93388def672ed69c4da4462cd15db594bf39226e Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sat, 27 May 2023 22:19:37 -0400 Subject: [PATCH] Fixed CTCP replies --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 2b020bb..2b82e1c 100644 --- a/ircp.py +++ b/ircp.py @@ -328,7 +328,7 @@ class probe: error(self.display + 'delay found', msg) break if msg[:8] == '\001VERSION': - version = random.choice('http://www.mibbit.com ajax IRC Client','mIRC v6.35 Khaled Mardam-Bey','xchat 0.24.1 Linux 2.6.27-8-eeepc i686','rZNC Version 1.0 [02/01/11] - Built from ZNC','thelounge v3.0.0 -- https://thelounge.chat/') + version = random.choice(('http://www.mibbit.com ajax IRC Client','mIRC v6.35 Khaled Mardam-Bey','xchat 0.24.1 Linux 2.6.27-8-eeepc i686','rZNC Version 1.0 [02/01/11] - Built from ZNC','thelounge v3.0.0 -- https://thelounge.chat/')) await self.raw(f'NOTICE {nick} \001VERSION {version}\001') elif nick == 'NickServ': self.snapshot['services'] = True