mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-11 04:32:36 +01:00
Changed Anonymous logging to use new format() style logs
This commit is contained in:
parent
65f713df4b
commit
d74c1b2d9b
@ -72,8 +72,8 @@ class Anonymous(callbacks.Privmsg):
|
|||||||
Sends <text> to <channel>.
|
Sends <text> to <channel>.
|
||||||
"""
|
"""
|
||||||
self._preCheck(irc, msg, channel)
|
self._preCheck(irc, msg, channel)
|
||||||
self.log.info('Saying %s in %s due to %s.' % \
|
self.log.info('Saying %q in %s due to %s.',
|
||||||
utils.str.quoted(text), channel, msg.prefix)
|
text, channel, msg.prefix)
|
||||||
irc.queueMsg(ircmsgs.privmsg(channel, text))
|
irc.queueMsg(ircmsgs.privmsg(channel, text))
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
say = wrap(say, ['inChannel', 'text'])
|
say = wrap(say, ['inChannel', 'text'])
|
||||||
@ -84,8 +84,8 @@ class Anonymous(callbacks.Privmsg):
|
|||||||
Performs <action> in <channel>.
|
Performs <action> in <channel>.
|
||||||
"""
|
"""
|
||||||
self._preCheck(irc, msg, channel)
|
self._preCheck(irc, msg, channel)
|
||||||
self.log.info('Performing %s in %s due to %s.'% \
|
self.log.info('Performing %q in %s due to %s.',
|
||||||
utils.str.quoted(text), channel, msg.prefix)
|
text, channel, msg.prefix)
|
||||||
irc.queueMsg(ircmsgs.action(channel, text))
|
irc.queueMsg(ircmsgs.action(channel, text))
|
||||||
irc.noReply()
|
irc.noReply()
|
||||||
do = wrap(do, ['inChannel', 'text'])
|
do = wrap(do, ['inChannel', 'text'])
|
||||||
|
Loading…
Reference in New Issue
Block a user