3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-24 19:52:53 +01:00

relay: don't relay kicks if the target has no client on the remote network?

This commit is contained in:
James Lu 2015-08-15 05:53:44 -07:00
parent cc7e52a190
commit f63d17f945

View File

@ -409,6 +409,8 @@ def handle_kick(irc, source, command, args):
"(half)opped." % channel, notice=True)
return
if not real_target:
return
# Propogate the kick!
if real_kicker:
log.debug('(%s) Relay kick: Kicking %s from channel %s via %s on behalf of %s/%s', irc.name, real_target, remotechan,real_kicker, kicker, irc.name)