_messag_factory._ should take a tags
arg
This commit is contained in:
parent
e6b4321f30
commit
74d9bf4da3
1 changed files with 2 additions and 2 deletions
|
@ -10,8 +10,8 @@ def _message_factory(command):
|
||||||
if not command in ["PRIVMSG", "NOTICE"]:
|
if not command in ["PRIVMSG", "NOTICE"]:
|
||||||
raise ValueError("Unknown command method '%s'" % method)
|
raise ValueError("Unknown command method '%s'" % method)
|
||||||
|
|
||||||
def _(target, message):
|
def _(target, message, tags):
|
||||||
return IRCLine.ParsedLine(command, [target, message])
|
return IRCLine.ParsedLine(command, [target, message], tags=tags)
|
||||||
return _
|
return _
|
||||||
|
|
||||||
class Out(object):
|
class Out(object):
|
||||||
|
|
Loading…
Reference in a new issue