Anonymous: Fix use of pipes.

This commit is contained in:
Valentin Lorentz 2013-04-22 17:58:32 +00:00
parent 96fae12fd2
commit 8701002ff9
1 changed files with 2 additions and 2 deletions

View File

@ -85,7 +85,7 @@ class Anonymous(callbacks.Plugin):
self._preCheck(irc, msg, target, 'say')
self.log.info('Saying %q to %s due to %s.',
text, target, msg.prefix)
irc.queueMsg(ircmsgs.privmsg(target, text))
irc.reply(text, to=target)
irc.noReply()
say = wrap(say, [first('nick', 'inChannel'), 'text'])
@ -98,7 +98,7 @@ class Anonymous(callbacks.Plugin):
self._preCheck(irc, msg, channel, 'do')
self.log.info('Performing %q in %s due to %s.',
text, channel, msg.prefix)
irc.queueMsg(ircmsgs.action(channel, text))
irc.reply(text, action=True, to=channel)
irc.noReply()
do = wrap(do, ['inChannel', 'text'])
Anonymous = internationalizeDocstring(Anonymous)