mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +01:00
relay: in handle_kick, only remove the target from the user cache after the kick has been relayed to all networks
This commit is contained in:
parent
13b5377102
commit
e5c7d438b1
@ -389,7 +389,7 @@ def handle_kick(irc, source, command, args):
|
|||||||
# they originate from the same network. We won't have
|
# they originate from the same network. We won't have
|
||||||
# to filter this; the uplink IRCd will handle it appropriately,
|
# to filter this; the uplink IRCd will handle it appropriately,
|
||||||
# and we'll just follow.
|
# and we'll just follow.
|
||||||
real_target = getRemoteUser(irc, remoteirc, target)
|
real_target = getRemoteUser(irc, remoteirc, target, spawnIfMissing=False)
|
||||||
log.debug('(%s) Relay kick: real target for %s is %s', irc.name, target, real_target)
|
log.debug('(%s) Relay kick: real target for %s is %s', irc.name, target, real_target)
|
||||||
else:
|
else:
|
||||||
log.debug('(%s) Relay kick: target %s is an internal client, going to look up the real user', irc.name, target)
|
log.debug('(%s) Relay kick: target %s is an internal client, going to look up the real user', irc.name, target)
|
||||||
|
Loading…
Reference in New Issue
Block a user