From 3c675bb163d1382f54b534bd9d6da31d63a7f2cc Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 6 Aug 2017 01:47:43 -0700 Subject: [PATCH] inspircd, unreal: support the "block nick changes" extban This is n: and ~n: on inspircd and unreal respectively. --- protocols/inspircd.py | 2 +- protocols/unreal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index c665858..30a6b2c 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -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): """ diff --git a/protocols/unreal.py b/protocols/unreal.py index 999bfa0..25448d2 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -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."""