aboutsummaryrefslogtreecommitdiff
path: root/modules/commands/outs.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-10-28 11:24:56 +0000
committerGravatar jesopo2019-10-28 11:24:56 +0000
commit74d9bf4da32aa33ee10eda9cbd1079b959c4de38 (patch)
treefcbc5012458705195d5f2a7e9d38edb05b243618 /modules/commands/outs.py
parent'_mesage_factory' -> '_message_factory' (diff)
signature
_messag_factory._ should take a `tags` arg
Diffstat (limited to 'modules/commands/outs.py')
-rw-r--r--modules/commands/outs.py4
1 files 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):