Outfilters should *always* give a msg= keyword argument when they create a new message, because otherwise tags don't remain. If you see any other places where they don't, go ahead and fix them as well :).

This commit is contained in:
Jeremy Fincher 2004-09-29 18:56:02 +00:00
parent 491ebdaf53
commit 755cfd258d
1 changed files with 1 additions and 1 deletions

View File

@ -89,7 +89,7 @@ class Filter(callbacks.Privmsg):
filtercommand(myIrc, msg, [s])
s = myIrc.s
if ircmsgs.isAction(msg):
msg = ircmsgs.action(msg.args[0], s)
msg = ircmsgs.action(msg.args[0], s, msg=msg)
else:
msg = ircmsgs.IrcMsg(msg=msg, args=(msg.args[0], s))
return msg