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:
parent
cc7e52a190
commit
f63d17f945
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user