3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-27 21:19:31 +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:
James Lu 2017-12-07 00:36:38 -08:00
parent bd2cd90957
commit a0c57d0a5a

View File

@ -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:'}