1
mirror of git://git.acid.vegas/archive.git synced 2024-11-21 23:56:40 +00:00

Removed oper check lines dont need oper

This commit is contained in:
Dionysus 2023-07-22 23:52:39 -04:00
parent ba9f5107ce
commit b77c5aed87
Signed by: acidvegas
GPG Key ID: EF4B922DB85DC9DE

View File

@ -118,8 +118,6 @@ class Bot():
await self.raw(f'MODE {identity.nickname} +{connection.modes}') await self.raw(f'MODE {identity.nickname} +{connection.modes}')
if identity.nickserv: if identity.nickserv:
await self.sendmsg('NickServ', f'IDENTIFY {identity.nickname} {identity.nickserv}') await self.sendmsg('NickServ', f'IDENTIFY {identity.nickname} {identity.nickserv}')
if identity.operator:
await self.raw('OPER hates {identity.operator}')
await self.raw(f'JOIN {connection.channel} {connection.key}') if connection.key else await self.raw('JOIN ' + connection.channel) await self.raw(f'JOIN {connection.channel} {connection.key}') if connection.key else await self.raw('JOIN ' + connection.channel)
self.loops['tail'] = asyncio.create_task(self.loop_tail()) self.loops['tail'] = asyncio.create_task(self.loop_tail())
elif args[1] == '433': elif args[1] == '433':