1
mirror of git://git.acid.vegas/IRCP.git synced 2024-11-22 16:06:41 +00:00

Do not log 401 ERR_NOSUCHNICK

This commit is contained in:
Dionysus 2023-06-18 01:15:25 -04:00
parent ec67fef1eb
commit ede626b5eb
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -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]