From eb1cb9bd7691cbdff1c49db96081dca6a14ece22 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 27 Jan 2018 12:33:21 -0800 Subject: [PATCH] Services: don't mangle the case of NickServ notices in logging This might be confusing if you're dealing with password changes, etc. --- plugins/Services/plugin.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/Services/plugin.py b/plugins/Services/plugin.py index 1eac490ff..e58f969e5 100644 --- a/plugins/Services/plugin.py +++ b/plugins/Services/plugin.py @@ -345,7 +345,8 @@ class Services(callbacks.Plugin): 'NickServ %s. Check email at %s and send the ' 'auth command to NickServ.', on, email) else: - self.log.info('Received notice from NickServ %s: %q.', on, s) + self.log.info('Received notice from NickServ %s: %q.', on, + ircutils.stripFormatting(msg.args[1])) def checkPrivileges(self, irc, channel): if self.disabled(irc):