mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
unreal: register ~T extbans as filter and filter_censor (#557)
This doesn't work in relay yet because of #560 (as well as a restriction where acting extbans must match n!u@h...)
This commit is contained in:
parent
bd2cd90957
commit
a0c57d0a5a
@ -375,7 +375,8 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
self._send_with_prefix(self.sid, 'EOS')
|
||||
|
||||
# Extban definitions
|
||||
self.extbans_acting = {'quiet': '~q:', 'ban_nonick': '~n:', 'ban_nojoins': '~j:'}
|
||||
self.extbans_acting = {'quiet': '~q:', 'ban_nonick': '~n:', 'ban_nojoins': '~j:',
|
||||
'filter': '~T:block:', 'filter_censor': '~T:censor:'}
|
||||
self.extbans_matching = {'ban_account': '~a:', 'ban_inchannel': '~c:', 'ban_opertype': '~O:',
|
||||
'ban_realname': '~r:', 'ban_account_legacy': '~R:', 'ban_certfp': '~S:'}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user