From 930a7e19f19895833f152d1c51e6c59ff6bac856 Mon Sep 17 00:00:00 2001 From: James Lu Date: Thu, 29 Jun 2017 22:20:30 -0700 Subject: [PATCH] unreal: checkCloakChange -> _check_cloak_change --- protocols/unreal.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/protocols/unreal.py b/protocols/unreal.py index bcbc1aa..96847f7 100644 --- a/protocols/unreal.py +++ b/protocols/unreal.py @@ -732,7 +732,7 @@ class UnrealProtocol(TS6BaseProtocol): # User mode change: pass those on to handle_umode2() self.handle_umode2(numeric, 'MODE', args[1:]) - def checkCloakChange(self, uid, parsedmodes): + def _check_cloak_change(self, uid, parsedmodes): """ Checks whether +x/-x was set in the mode query, and changes the hostname of the user given to or from their cloaked host if True. @@ -776,7 +776,7 @@ class UnrealProtocol(TS6BaseProtocol): self.applyModes(target, parsedmodes) # If +x/-x is being set, update cloaked host info. - self.checkCloakChange(target, parsedmodes) + self._check_cloak_change(target, parsedmodes) return {'target': target, 'modes': parsedmodes} @@ -865,7 +865,7 @@ class UnrealProtocol(TS6BaseProtocol): # If +o being set, call the CLIENT_OPERED internal hook. self.callHooks([numeric, 'CLIENT_OPERED', {'text': 'IRC Operator'}]) - self.checkCloakChange(numeric, parsedmodes) + self._check_cloak_change(numeric, parsedmodes) return {'target': numeric, 'modes': parsedmodes}