From ede626b5ebfc324f59db15a164a1f01d46fca76f Mon Sep 17 00:00:00 2001 From: acidvegas Date: Sun, 18 Jun 2023 01:15:25 -0400 Subject: [PATCH] Do not log 401 ERR_NOSUCHNICK --- ircp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircp.py b/ircp.py index 86e97c0..cfc23e6 100644 --- 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]