From b374418c81c9aa16413bd90e4d6d28ece02455fc Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 30 Jun 2023 20:07:45 -0700 Subject: [PATCH] irclib: fix mismatched arguments when logging IRCv3 cap responses --- src/irclib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irclib.py b/src/irclib.py index b3ed60036..2ba3e2cce 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -2061,7 +2061,7 @@ class Irc(IrcCommandDispatcher, log.Firewalled): return caps = msg.args[2].split() assert caps, 'Empty list of capabilities' - log.debug('%s: Server acknowledged capabilities: %L', + log.debug('%s: Server acknowledged capabilities: %s', self.network, caps) self.state.capabilities_ack.update(caps) @@ -2074,7 +2074,7 @@ class Irc(IrcCommandDispatcher, log.Firewalled): caps = msg.args[2].split() assert caps, 'Empty list of capabilities' self.state.capabilities_nak.update(caps) - log.warning('%s: Server refused capabilities: %L', + log.warning('%s: Server refused capabilities: %s', self.network, caps) self.capUpkeep(msg)