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

protocols: fix incomplete renames from c5c77eeb97

This commit is contained in:
James Lu 2016-09-12 20:12:21 -07:00
parent da24b85ccd
commit 8589feaedf
3 changed files with 3 additions and 3 deletions

View File

@ -613,7 +613,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
self.irc.applyModes(channel, changedmodes)
ts = int(args[1])
return {'target': channel, 'modes': changedmodes, 'ts': ts,
'chandata': oldobj}
'channeldata': oldobj}
def handle_mode(self, numeric, command, args):
"""Handles incoming user mode changes."""

View File

@ -1249,7 +1249,7 @@ class P10Protocol(IRCS2SProtocol):
changedmodes.append(('-%s' % modechar, None))
self.irc.applyModes(channel, changedmodes)
return {'target': channel, 'modes': changedmodes, 'chandata': oldobj}
return {'target': channel, 'modes': changedmodes, 'channeldata': oldobj}
def handle_account(self, numeric, command, args):
"""Handles services account changes."""

View File

@ -578,7 +578,7 @@ class TS6Protocol(TS6BaseProtocol):
self.irc.applyModes(channel, changedmodes)
ts = int(args[0])
return {'target': channel, 'modes': changedmodes, 'ts': ts,
'chandata': oldobj}
'channeldata': oldobj}
def handle_mode(self, numeric, command, args):
"""Handles incoming user mode changes."""