3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

pr/inspircd: fix typo in handle_mode

This commit is contained in:
James Lu 2015-07-04 23:47:27 -07:00
parent 3e86cbdd33
commit 3749e642f2

View File

@ -291,7 +291,7 @@ def handle_mode(irc, numeric, command, args):
modestrings = args[1:]
changedmodes = utils.parseModes(modestrings)
irc.users[numeric].modes = utils.applyModes(irc.users[numeric].modes, changedmodes)
return {'target': user, 'modes': changedmodes}
return {'target': target, 'modes': changedmodes}
def handle_squit(irc, numeric, command, args):
# :70M SQUIT 1ML :Server quit by GL!gl@0::1