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

Do not log WHO replies from ChanServ or ourself

This commit is contained in:
Dionysus 2023-05-31 01:41:22 -04:00
parent 3ffd3dfb8c
commit f65da6be74
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

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