aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-11-26 18:42:27 +0000
committerGravatar jesopo2019-11-26 18:42:27 +0000
commitd216ce33452906fcb50efa3774e1143ee6183cd0 (patch)
treee0df257ad7f0a2cbda23acdf3a2b22ead3abc848
parentadd check.command.permission and check.command.authenticated callbacks (diff)
signature
check hostmask on WHO too
-rw-r--r--modules/permissions/__init__.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/permissions/__init__.py b/modules/permissions/__init__.py
index 20ef55dc..538aa773 100644
--- a/modules/permissions/__init__.py
+++ b/modules/permissions/__init__.py
@@ -91,6 +91,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.chghost")
@utils.hook("received.nick")
+ @utils.hook("received.who")
def chghost(self, event):
if not self._is_identified(event["user"]):
self._set_hostmask(event["server"], event["user"])