mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +01:00
hybrid, unreal: switch to irc.toLower() for channels
This commit is contained in:
parent
8e5c58d897
commit
f60e17907a
@ -198,7 +198,7 @@ class HybridProtocol(TS6Protocol):
|
|||||||
def handle_tburst(self, numeric, command, args):
|
def handle_tburst(self, numeric, command, args):
|
||||||
"""Handles incoming topic burst (TBURST) commands."""
|
"""Handles incoming topic burst (TBURST) commands."""
|
||||||
# <- :0UY TBURST 1459308205 #testchan 1459309379 dan!~d@localhost :sdf
|
# <- :0UY TBURST 1459308205 #testchan 1459309379 dan!~d@localhost :sdf
|
||||||
channel = args[1].lower()
|
channel = self.irc.toLower(args[1])
|
||||||
ts = args[2]
|
ts = args[2]
|
||||||
setter = args[3]
|
setter = args[3]
|
||||||
topic = args[-1]
|
topic = args[-1]
|
||||||
|
@ -853,7 +853,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
|||||||
"""Handles incoming INVITEs."""
|
"""Handles incoming INVITEs."""
|
||||||
# <- :GL INVITE PyLink-devel :#a
|
# <- :GL INVITE PyLink-devel :#a
|
||||||
target = self._getUid(args[0])
|
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
|
# We don't actually need to process this; it's just something plugins/hooks can use
|
||||||
return {'target': target, 'channel': channel}
|
return {'target': target, 'channel': channel}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user