WHOX can effect hostmask permissions too

This commit is contained in:
jesopo 2019-11-26 18:45:13 +00:00
parent 7a5eb765c4
commit e56e2d3e48

View file

@ -92,6 +92,7 @@ class Module(ModuleManager.BaseModule):
@utils.hook("received.chghost") @utils.hook("received.chghost")
@utils.hook("received.nick") @utils.hook("received.nick")
@utils.hook("received.who") @utils.hook("received.who")
@utils.hook("received.whox")
def chghost(self, event): def chghost(self, event):
if not self._is_identified(event["user"]): if not self._is_identified(event["user"]):
self._set_hostmask(event["server"], event["user"]) self._set_hostmask(event["server"], event["user"])