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

Only log ChanServ once

This commit is contained in:
Dionysus 2023-05-31 01:46:53 -04:00
parent f65da6be74
commit d96b9171a2
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']+['ChanServ',self.nickname]:
if nick not in self.nicks['all']+[self.nickname,]:
self.nicks['all'].append(nick)
self.nicks['check'].append(nick)
elif numeric == '366' and len(args) >= 4: # RPL_ENDOFNAMES