3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-23 19:19:31 +01:00

hybrid, unreal: switch to irc.toLower() for channels

This commit is contained in:
James Lu 2016-08-01 18:06:38 -07:00
parent 8e5c58d897
commit f60e17907a
2 changed files with 2 additions and 2 deletions

View File

@ -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]

View File

@ -853,7 +853,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}