diff --git a/protocols/unreal.py b/protocols/unreal.py index 5b08a5b..ac2daf3 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)