IRCP

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

commit 3ffd3dfb8c131556e5c8609e7486098256f03791
parent ddeeda4d2580af82057afcc935a0fe0e74031401
Author: acidvegas <acid.vegas@acid.vegas>
Date: Wed, 31 May 2023 01:36:59 -0400

Do not add our own nick to the nicklist from WHO

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']+['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