IRCP

- information gathering tool for irc servers
git clone git://git.acid.vegas/IRCP.git
Log | Files | Refs | Archive | README | LICENSE

commit d96b9171a2cf68ccd4786b95d4448d8b46e03029
parent f65da6be74a371ca9b2f6a65a7317469da45c6aa
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 31 May 2023 01:46:53 -0400

Only log ChanServ once

Diffstat:
Mircp.py | 2+-

1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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