mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 09:19:23 +01:00
pr/insp: fix handle_mode setting modes on the wrong client
This commit is contained in:
parent
5989f11ec0
commit
b92a9ce950
@ -287,7 +287,7 @@ def handle_mode(irc, numeric, command, args):
|
|||||||
target = args[0]
|
target = args[0]
|
||||||
modestrings = args[1:]
|
modestrings = args[1:]
|
||||||
changedmodes = utils.parseModes(irc, numeric, modestrings)
|
changedmodes = utils.parseModes(irc, numeric, modestrings)
|
||||||
utils.applyModes(irc, numeric, changedmodes)
|
utils.applyModes(irc, target, changedmodes)
|
||||||
return {'target': target, 'modes': changedmodes}
|
return {'target': target, 'modes': changedmodes}
|
||||||
|
|
||||||
def handle_squit(irc, numeric, command, args):
|
def handle_squit(irc, numeric, command, args):
|
||||||
|
Loading…
Reference in New Issue
Block a user