mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 17:39:27 +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>.
|
||||
"""
|
||||
self._preCheck(irc, msg, channel)
|
||||
self.log.info('Saying %s in %s due to %s.' % \
|
||||
utils.str.quoted(text), channel, msg.prefix)
|
||||
self.log.info('Saying %q in %s due to %s.',
|
||||
text, channel, msg.prefix)
|
||||
irc.queueMsg(ircmsgs.privmsg(channel, text))
|
||||
irc.noReply()
|
||||
say = wrap(say, ['inChannel', 'text'])
|
||||
@ -84,8 +84,8 @@ class Anonymous(callbacks.Privmsg):
|
||||
Performs <action> in <channel>.
|
||||
"""
|
||||
self._preCheck(irc, msg, channel)
|
||||
self.log.info('Performing %s in %s due to %s.'% \
|
||||
utils.str.quoted(text), channel, msg.prefix)
|
||||
self.log.info('Performing %q in %s due to %s.',
|
||||
text, channel, msg.prefix)
|
||||
irc.queueMsg(ircmsgs.action(channel, text))
|
||||
irc.noReply()
|
||||
do = wrap(do, ['inChannel', 'text'])
|
||||
|
Loading…
Reference in New Issue
Block a user