From 744a384c47f2f579e1a9e76cfe6db77e11e684cb Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 19 Sep 2019 18:16:23 +0100 Subject: [PATCH] use source Hostmask from multiline batch --- modules/ircv3_multiline.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/ircv3_multiline.py b/modules/ircv3_multiline.py index 02d3d080..51bdf312 100644 --- a/modules/ircv3_multiline.py +++ b/modules/ircv3_multiline.py @@ -38,4 +38,5 @@ class Module(ModuleManager.BaseModule): target = event["batch"].args[0] message = "\n".join(messages) - return [IRCLine.ParsedLine("PRIVMSG", [target, message])] + return [IRCLine.ParsedLine("PRIVMSG", [target, message], + source=event["batch"].source)]