3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 03:29:28 +01:00

ClientbotWrapperProtocol: Missing log message argument: channel

Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
Celelibi 2020-06-19 05:12:52 +02:00 committed by James Lu
parent cb0af148d8
commit 43532fd1cc

View File

@ -1157,7 +1157,7 @@ class ClientbotWrapperProtocol(ClientbotBaseProtocol, IRCCommonProtocol):
channel = args[1] channel = args[1]
target = args[2] target = args[2]
if channel not in self.channels: if channel not in self.channels:
log.warning('(%s) got ban mode +%s %s on unknown channel %s?', self.name, banmode, target) log.warning('(%s) got ban mode +%s %s on unknown channel %s?', self.name, banmode, target, channel)
else: else:
# Just apply the mode; we send out a mode hook only when the corresponding ban list has finished sending. # Just apply the mode; we send out a mode hook only when the corresponding ban list has finished sending.
self.apply_modes(channel, [('+%s' % banmode, target)]) self.apply_modes(channel, [('+%s' % banmode, target)])