IRCP

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

commit ede626b5ebfc324f59db15a164a1f01d46fca76f
parent ec67fef1ebe8e1f38b728c181e0b9e2a43824173
Author: acidvegas <acid.vegas@acid.vegas>
Date: Sun, 18 Jun 2023 01:15:25 -0400

Do not log 401 ERR_NOSUCHNICK

Diffstat:
Mircp.py | 2+-

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

diff --git a/ircp.py b/ircp.py
@@ -295,7 +295,7 @@ class probe:
 					self.snapshot['ERROR'] = self.snapshot['ERROR']+[line,] if 'ERROR' in self.snapshot else [line,]
 				elif not event.isdigit() and event not in ('CAP','INVITE','JOIN','KICK','KILL','MODE','NICK','NOTICE','PART','PRIVMSG','QUIT','TOPIC','WHO'):
 					self.snapshot['RAW'] = self.snapshot['RAW']+[line,] if 'RAW' in self.snapshot else [line,]
-				else:
+				elif event != '401':
 					self.snapshot[event] = self.snapshot[event]+[line,] if event in self.snapshot else [line,]
 				if event in bad.chan and len(args) >= 4:
 					chan = args[3]