From 29d5ab9b56c0eab2df52f450f2f2c6cbcfaa6b70 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 22 May 2019 08:42:41 +0100 Subject: [PATCH] `_handle` takes a server param --- modules/line_handler/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/line_handler/__init__.py b/modules/line_handler/__init__.py index 42eba637..ad0b01e3 100644 --- a/modules/line_handler/__init__.py +++ b/modules/line_handler/__init__.py @@ -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")