3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

inspircd, unreal: support the "block nick changes" extban

This is n: and ~n: on inspircd and unreal respectively.
This commit is contained in:
James Lu 2017-08-06 01:47:43 -07:00
parent 9ae851e1fc
commit 3c675bb163
2 changed files with 2 additions and 2 deletions

View File

@ -411,7 +411,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
self._send_with_prefix(self.sid, 'ENDBURST')
# Extban definitions
self.extbans_acting = {'quiet': 'm:'}
self.extbans_acting = {'quiet': 'm:', 'ban_nonick': 'n:'}
def handle_capab(self, source, command, args):
"""

View File

@ -375,7 +375,7 @@ class UnrealProtocol(TS6BaseProtocol):
self._send_with_prefix(self.sid, 'EOS')
# Extban definitions
self.extbans_acting = {'quiet': '~q:'}
self.extbans_acting = {'quiet': '~q:', 'ban_nonick': '~n:'}
def handle_eos(self, numeric, command, args):
"""EOS is used to denote end of burst."""