diff --git a/classes.py b/classes.py index 4f634a8..d528273 100644 --- a/classes.py +++ b/classes.py @@ -152,6 +152,9 @@ class PyLinkNetworkCore(utils.DeprecatedAttributesObject, utils.CamelCaseToSnake 'oper': 'o', '*A': '', '*B': '', '*C': '', '*D': 'iosw'} + # Acting extbans such as +b m:n!u@h on InspIRCd + self.extbans_acting = {} + # This max nick length starts off as the config value, but may be # overwritten later by the protocol module if such information is # received. It defaults to 30. diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 18c63f8..08bcd68 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -410,6 +410,9 @@ class InspIRCdProtocol(TS6BaseProtocol): self._send_with_prefix(self.sid, 'VERSION :%s' % self.version()) self._send_with_prefix(self.sid, 'ENDBURST') + # Extban definitions + self.extbans_acting = {'quiet': 'm:'} + def handle_capab(self, source, command, args): """ Handles the CAPAB command, used for capability negotiation with our diff --git a/protocols/unreal.py b/protocols/unreal.py index 4c6a99d..999bfa0 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -374,6 +374,9 @@ class UnrealProtocol(TS6BaseProtocol): f('NETINFO 1 %s %s * 0 0 0 :%s' % (self.start_ts, self.proto_ver, self.serverdata.get("netname", self.name))) self._send_with_prefix(self.sid, 'EOS') + # Extban definitions + self.extbans_acting = {'quiet': '~q:'} + def handle_eos(self, numeric, command, args): """EOS is used to denote end of burst.""" return {}