whoops account
This commit is contained in:
parent
cdb3d287e0
commit
f0525a7052
6
filts.py
6
filts.py
|
@ -16,12 +16,12 @@ async def on_join(self,line):
|
|||
|
||||
|
||||
if not user.account:
|
||||
reason.append('NO_NS_ACCOUNT')
|
||||
if self.name != 'freenode':
|
||||
reason.append('NO_NS_ACCOUNT')
|
||||
else:
|
||||
account = user.account
|
||||
|
||||
if self.name != 'freenode':
|
||||
reason += [f'NS_ACCOUNT ({ac})' for ac in ['lickthecheese'] if ac == account]
|
||||
reason += [f'NS_ACCOUNT ({ac})' for ac in ['lickthecheese'] if ac == account]
|
||||
|
||||
host = line.source.split('@')[1]
|
||||
reason += [f'BAD_HOST ({host})' for ac in ['hot-chilli'] if ac in host]
|
||||
|
|
Loading…
Reference in New Issue