mirror of
git://git.acid.vegas/IRCP.git
synced 2024-11-26 09:56:42 +00:00
Do not log WHO replies from ChanServ or ourself
This commit is contained in:
parent
3ffd3dfb8c
commit
f65da6be74
2
ircp.py
2
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',self.nickname]:
|
||||
if nick not in self.nicks['all']+['ChanServ',self.nickname]:
|
||||
self.nicks['all'].append(nick)
|
||||
self.nicks['check'].append(nick)
|
||||
elif numeric == '366' and len(args) >= 4: # RPL_ENDOFNAMES
|
||||
|
Loading…
Reference in New Issue
Block a user