From 3749e642f2649f633acea45cbf7dbaf647786051 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 4 Jul 2015 23:47:27 -0700 Subject: [PATCH] pr/inspircd: fix typo in handle_mode --- protocols/inspircd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/inspircd.py b/protocols/inspircd.py index deaef91..7b83cdc 100644 --- a/protocols/inspircd.py +++ b/protocols/inspircd.py @@ -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