mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 03:33:10 +01:00
ClientbotWrapperProtocol: Missing log message argument: channel
Signed-off-by: Celelibi <celelibi@gmail.com>
This commit is contained in:
parent
cb0af148d8
commit
43532fd1cc
@ -1157,7 +1157,7 @@ class ClientbotWrapperProtocol(ClientbotBaseProtocol, IRCCommonProtocol):
|
||||
channel = args[1]
|
||||
target = args[2]
|
||||
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:
|
||||
# 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)])
|
||||
|
Loading…
Reference in New Issue
Block a user