mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-11 20:52:42 +01:00
relay: remove incorrect network name in logging for blocked kicks
This commit is contained in:
parent
e0bda6b850
commit
a2e7a35998
@ -1205,9 +1205,9 @@ def handle_kick(irc, source, command, args):
|
|||||||
# Join the kicked client back with its respective modes.
|
# Join the kicked client back with its respective modes.
|
||||||
irc.proto.sjoin(irc.sid, channel, [(modes, target)])
|
irc.proto.sjoin(irc.sid, channel, [(modes, target)])
|
||||||
if kicker in irc.users:
|
if kicker in irc.users:
|
||||||
log.info('(%s) relay: Blocked KICK (reason %r) from %s/%s to relay client %s/%s on %s.',
|
log.info('(%s) relay: Blocked KICK (reason %r) from %s/%s to relay client %s on %s.',
|
||||||
irc.name, args['text'], irc.users[source].nick, irc.name,
|
irc.name, args['text'], irc.users[source].nick, irc.name,
|
||||||
remoteirc.users[real_target].nick, remoteirc.name, channel)
|
remoteirc.users[real_target].nick, channel)
|
||||||
irc.msg(kicker, "This channel is claimed; your kick to "
|
irc.msg(kicker, "This channel is claimed; your kick to "
|
||||||
"%s has been blocked because you are not "
|
"%s has been blocked because you are not "
|
||||||
"(half)opped." % channel, notice=True)
|
"(half)opped." % channel, notice=True)
|
||||||
|
Loading…
Reference in New Issue
Block a user