use source Hostmask from multiline batch

This commit is contained in:
jesopo 2019-09-19 18:16:23 +01:00
parent efc0e197e5
commit 744a384c47

View file

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