_handle takes a server param

This commit is contained in:
jesopo 2019-05-22 08:42:41 +01:00
parent 82e79ac4e5
commit 29d5ab9b56

View file

@ -201,7 +201,7 @@ class Module(ModuleManager.BaseModule):
for line in batch.lines:
if add_tags:
line.tags.update(add_tags)
self._handle(line)
self._handle(event["server"], line)
# IRCv3 CHGHOST, a user's username and/or hostname has changed
@utils.hook("raw.received.chghost")