From d96b9171a2cf68ccd4786b95d4448d8b46e03029 Mon Sep 17 00:00:00 2001 From: acidvegas Date: Wed, 31 May 2023 01:46:53 -0400 Subject: [PATCH] Only log ChanServ once --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 7c85746..e3385e4 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']+['ChanServ',self.nickname]: + if nick not in self.nicks['all']+[self.nickname,]: self.nicks['all'].append(nick) self.nicks['check'].append(nick) elif numeric == '366' and len(args) >= 4: # RPL_ENDOFNAMES