mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
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:
parent
491ebdaf53
commit
755cfd258d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user