From 74d9bf4da32aa33ee10eda9cbd1079b959c4de38 Mon Sep 17 00:00:00 2001 From: jesopo Date: Mon, 28 Oct 2019 11:24:56 +0000 Subject: [PATCH] _messag_factory._ should take a `tags` arg --- modules/commands/outs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/commands/outs.py b/modules/commands/outs.py index 1ea32df4..41528da3 100644 --- a/modules/commands/outs.py +++ b/modules/commands/outs.py @@ -10,8 +10,8 @@ def _message_factory(command): if not command in ["PRIVMSG", "NOTICE"]: raise ValueError("Unknown command method '%s'" % method) - def _(target, message): - return IRCLine.ParsedLine(command, [target, message]) + def _(target, message, tags): + return IRCLine.ParsedLine(command, [target, message], tags=tags) return _ class Out(object):