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

unreal: fix wrong variable name in handle_umode2

This commit is contained in:
James Lu 2016-03-26 12:50:23 -07:00
parent f2a21148e7
commit 9cd1635f68

View File

@ -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)