diff --git a/protocols/hybrid.py b/protocols/hybrid.py index 55c9cb9..fe19d8a 100644 --- a/protocols/hybrid.py +++ b/protocols/hybrid.py @@ -198,7 +198,7 @@ class HybridProtocol(TS6Protocol): def handle_tburst(self, numeric, command, args): """Handles incoming topic burst (TBURST) commands.""" # <- :0UY TBURST 1459308205 #testchan 1459309379 dan!~d@localhost :sdf - channel = args[1].lower() + channel = self.irc.toLower(args[1]) ts = args[2] setter = args[3] topic = args[-1] diff --git a/protocols/unreal.py b/protocols/unreal.py index 8e049e2..0e6a083 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -841,7 +841,7 @@ class UnrealProtocol(TS6BaseProtocol): """Handles incoming INVITEs.""" # <- :GL INVITE PyLink-devel :#a target = self._getUid(args[0]) - channel = args[1].lower() + channel = self.irc.toLower(args[1]) # We don't actually need to process this; it's just something plugins/hooks can use return {'target': target, 'channel': channel}