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:
parent
9ae851e1fc
commit
3c675bb163
@ -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):
|
||||
"""
|
||||
|
@ -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."""
|
||||
|
Loading…
Reference in New Issue
Block a user