From 3ffd3dfb8c131556e5c8609e7486098256f03791 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 31 May 2023 01:36:59 -0400 Subject: [PATCH] Do not add our own nick to the nicklist from WHO --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 48c808a..e5e2589 100644 --- a/ircp.py +++ b/ircp.py @@ -363,7 +363,7 @@ class probe: self.loops['whois'] = asyncio.create_task(self.loop_whois()) elif numeric == '352' and len(args) >= 8: # RPL_WHORPL nick = args[7] - if nick not in self.nicks['all']+['BOPM','ChanServ','HOPM']: + if nick not in self.nicks['all']+['BOPM','ChanServ','HOPM',self.nickname]: self.nicks['all'].append(nick) self.nicks['check'].append(nick) elif numeric == '366' and len(args) >= 4: # RPL_ENDOFNAMES