From d74c1b2d9b12359dd8e20f2f16bbe184360ce887 Mon Sep 17 00:00:00 2001 From: Daniel DiPaolo Date: Fri, 4 Feb 2005 02:11:20 +0000 Subject: [PATCH] Changed Anonymous logging to use new format() style logs --- plugins/Anonymous/plugin.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/Anonymous/plugin.py b/plugins/Anonymous/plugin.py index c678ec4ab..ba6db380b 100644 --- a/plugins/Anonymous/plugin.py +++ b/plugins/Anonymous/plugin.py @@ -72,8 +72,8 @@ class Anonymous(callbacks.Privmsg): Sends to . """ 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 in . """ 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'])