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

pr/insp: fix handle_mode setting modes on the wrong client

This commit is contained in:
James Lu 2015-07-08 15:10:09 -07:00
parent 5989f11ec0
commit b92a9ce950

View File

@ -287,7 +287,7 @@ def handle_mode(irc, numeric, command, args):
target = args[0]
modestrings = args[1:]
changedmodes = utils.parseModes(irc, numeric, modestrings)
utils.applyModes(irc, numeric, changedmodes)
utils.applyModes(irc, target, changedmodes)
return {'target': target, 'modes': changedmodes}
def handle_squit(irc, numeric, command, args):