Permalink
Browse files

Anonymous: Fix use of pipes.

  • Loading branch information...
1 parent 96fae12 commit 8701002ff93001862b7afd217592cd44943e5a1c @ProgVal committed Apr 22, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 plugins/Anonymous/plugin.py
@@ -85,7 +85,7 @@ def say(self, irc, msg, args, target, text):
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 @@ def do(self, irc, msg, args, channel, text):
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)

0 comments on commit 8701002

Please sign in to comment.