From 2c23cbe01ed3cfe455f5df4f1e7f9957eef3b5c7 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sat, 19 Sep 2015 10:32:45 -0700 Subject: [PATCH] relay: fix some logging peculiarities in handle_kick? --- plugins/relay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/relay.py b/plugins/relay.py index 035da09..f052a33 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -754,9 +754,9 @@ def handle_kick(irc, source, command, args): # Join the kicked client back with its respective modes. irc.proto.sjoinServer(irc.sid, channel, [(modes, target)]) if kicker in irc.users: - log.info('(%s) Relay claim: Blocked KICK (reason %r) from %s to relay client %s/%s on %s.', + log.info('(%s) Relay claim: Blocked KICK (reason %r) from %s to relay client %s on %s.', irc.name, args['text'], irc.users[source].nick, - remoteirc.users[real_target].nick, remoteirc.name, channel) + remoteirc.users[real_target].nick, channel) irc.msg(kicker, "This channel is claimed; your kick to " "%s has been blocked because you are not " "(half)opped." % channel, notice=True)