mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 13:09:23 +01:00
protocols: fix incomplete renames from c5c77eeb97
This commit is contained in:
parent
da24b85ccd
commit
8589feaedf
@ -613,7 +613,7 @@ class InspIRCdProtocol(TS6BaseProtocol):
|
|||||||
self.irc.applyModes(channel, changedmodes)
|
self.irc.applyModes(channel, changedmodes)
|
||||||
ts = int(args[1])
|
ts = int(args[1])
|
||||||
return {'target': channel, 'modes': changedmodes, 'ts': ts,
|
return {'target': channel, 'modes': changedmodes, 'ts': ts,
|
||||||
'chandata': oldobj}
|
'channeldata': oldobj}
|
||||||
|
|
||||||
def handle_mode(self, numeric, command, args):
|
def handle_mode(self, numeric, command, args):
|
||||||
"""Handles incoming user mode changes."""
|
"""Handles incoming user mode changes."""
|
||||||
|
@ -1249,7 +1249,7 @@ class P10Protocol(IRCS2SProtocol):
|
|||||||
changedmodes.append(('-%s' % modechar, None))
|
changedmodes.append(('-%s' % modechar, None))
|
||||||
|
|
||||||
self.irc.applyModes(channel, changedmodes)
|
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):
|
def handle_account(self, numeric, command, args):
|
||||||
"""Handles services account changes."""
|
"""Handles services account changes."""
|
||||||
|
@ -578,7 +578,7 @@ class TS6Protocol(TS6BaseProtocol):
|
|||||||
self.irc.applyModes(channel, changedmodes)
|
self.irc.applyModes(channel, changedmodes)
|
||||||
ts = int(args[0])
|
ts = int(args[0])
|
||||||
return {'target': channel, 'modes': changedmodes, 'ts': ts,
|
return {'target': channel, 'modes': changedmodes, 'ts': ts,
|
||||||
'chandata': oldobj}
|
'channeldata': oldobj}
|
||||||
|
|
||||||
def handle_mode(self, numeric, command, args):
|
def handle_mode(self, numeric, command, args):
|
||||||
"""Handles incoming user mode changes."""
|
"""Handles incoming user mode changes."""
|
||||||
|
Loading…
Reference in New Issue
Block a user