mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-23 00:16:41 +00:00
Do not log 401 ERR_NOSUCHNICK
This commit is contained in:
parent
ec67fef1eb
commit
ede626b5eb
2
ircp.py
2
ircp.py
@ -295,7 +295,7 @@ class probe:
|
|||||||
self.snapshot['ERROR'] = self.snapshot['ERROR']+[line,] if 'ERROR' in self.snapshot else [line,]
|
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'):
|
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,]
|
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,]
|
self.snapshot[event] = self.snapshot[event]+[line,] if event in self.snapshot else [line,]
|
||||||
if event in bad.chan and len(args) >= 4:
|
if event in bad.chan and len(args) >= 4:
|
||||||
chan = args[3]
|
chan = args[3]
|
||||||
|
Loading…
Reference in New Issue
Block a user