diff --git a/protocols/inspircd.py b/protocols/inspircd.py index 1245dbb..0e6ea95 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -19,7 +19,7 @@ from ts6_common import TS6BaseProtocol class InspIRCdProtocol(TS6BaseProtocol): def __init__(self, irc): - super(InspIRCdProtocol, self).__init__(irc) + super().__init__(irc) # Set our case mapping (rfc1459 maps "\" and "|" together, for example). self.casemapping = 'rfc1459' diff --git a/protocols/ts6.py b/protocols/ts6.py index ff55d64..e8ef5e8 100644 --- a/protocols/ts6.py +++ b/protocols/ts6.py @@ -18,7 +18,7 @@ from ts6_common import TS6BaseProtocol class TS6Protocol(TS6BaseProtocol): def __init__(self, irc): - super(TS6Protocol, self).__init__(irc) + super().__init__(irc) self.casemapping = 'rfc1459' self.hook_map = {'SJOIN': 'JOIN', 'TB': 'TOPIC', 'TMODE': 'MODE', 'BMASK': 'MODE', 'EUID': 'UID'} diff --git a/protocols/unreal.py b/protocols/unreal.py index e34a612..0d4c625 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -20,7 +20,7 @@ from ts6_common import TS6BaseProtocol class UnrealProtocol(TS6BaseProtocol): def __init__(self, irc): - super(UnrealProtocol, self).__init__(irc) + super().__init__(irc) # Set our case mapping (rfc1459 maps "\" and "|" together, for example) self.casemapping = 'ascii' self.proto_ver = 4000