mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Anonymous: Fix use of pipes.
This commit is contained in:
parent
96fae12fd2
commit
8701002ff9
@ -85,7 +85,7 @@ class Anonymous(callbacks.Plugin):
|
|||||||
self._preCheck(irc, msg, target, 'say')
|
self._preCheck(irc, msg, target, 'say')
|
||||||
self.log.info('Saying %q to %s due to %s.',
|
self.log.info('Saying %q to %s due to %s.',
|
||||||
text, target, msg.prefix)
|
text, target, msg.prefix)
|
||||||
irc.queueMsg(ircmsgs.privmsg(target, text))
|
irc.reply(text, to=target)
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
say = wrap(say, [first('nick', 'inChannel'), 'text'])
|
say = wrap(say, [first('nick', 'inChannel'), 'text'])
|
||||||
|
|
||||||
@ -98,7 +98,7 @@ class Anonymous(callbacks.Plugin):
|
|||||||
self._preCheck(irc, msg, channel, 'do')
|
self._preCheck(irc, msg, channel, 'do')
|
||||||
self.log.info('Performing %q in %s due to %s.',
|
self.log.info('Performing %q in %s due to %s.',
|
||||||
text, channel, msg.prefix)
|
text, channel, msg.prefix)
|
||||||
irc.queueMsg(ircmsgs.action(channel, text))
|
irc.reply(text, action=True, to=channel)
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
do = wrap(do, ['inChannel', 'text'])
|
do = wrap(do, ['inChannel', 'text'])
|
||||||
Anonymous = internationalizeDocstring(Anonymous)
|
Anonymous = internationalizeDocstring(Anonymous)
|
||||||
|
Loading…
Reference in New Issue
Block a user