Changed Anonymous logging to use new format() style logs

This commit is contained in:
Daniel DiPaolo 2005-02-04 02:11:20 +00:00
parent 65f713df4b
commit d74c1b2d9b
1 changed files with 4 additions and 4 deletions

View File

@ -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'])