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

Added support for logging +b +e * +I modes

This commit is contained in:
Dionysus 2023-06-17 15:59:10 -04:00
parent b717d77113
commit 9a62ad2cbd
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -362,6 +362,13 @@ class probe:
debug('{0}\033[32mJOIN\033[0m {1} \033[30m(found \033[93m{2}\033[0m users)\033[0m'.format(self.display, chan, self.channels['users'][chan]))
del self.channels['users'][chan]
await self.raw('WHO ' + chan)
await self.raw(f'MODE {chan} +b')
await asyncio.sleep(1)
await self.raw(f'MODE {chan} +e')
await asyncio.sleep(1)
await self.raw(f'MODE {chan} +I')
await asyncio.sleep(1)
await self.raw('WHO ' + chan)
await asyncio.sleep(throttle.part)
await self.raw('PART ' + chan)
self.channels['current'].remove(chan)