From 9cd1635f68dafee47f147de43b258014d14da6e2 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 26 Mar 2016 12:50:23 -0700 Subject: [PATCH] unreal: fix wrong variable name in handle_umode2 --- protocols/unreal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index 82e035b..0f6dda6 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -673,7 +673,7 @@ class UnrealProtocol(TS6BaseProtocol): if ('+o', None) in parsedmodes: # If +o being set, call the CLIENT_OPERED internal hook. - self.irc.callHooks([uid, 'CLIENT_OPERED', {'text': 'IRC_Operator'}]) + self.irc.callHooks([numeric, 'CLIENT_OPERED', {'text': 'IRC_Operator'}]) self.checkCloakChange(numeric, parsedmodes)