check hostmask on WHO too

This commit is contained in:
jesopo 2019-11-26 18:42:27 +00:00
parent 14c30c4c05
commit d216ce3345

View file

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