Skip to content

Commit

Permalink
irclib: fix mismatched arguments when logging IRCv3 cap responses
Browse files Browse the repository at this point in the history
  • Loading branch information
jlu5 committed Jul 1, 2023
1 parent b4bf877 commit b374418
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/irclib.py
Original file line number Diff line number Diff line change
Expand Up @@ -2061,7 +2061,7 @@ def doCapAck(self, msg):
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)

Expand All @@ -2074,7 +2074,7 @@ def doCapNak(self, msg):
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)

Expand Down

0 comments on commit b374418

Please sign in to comment.