mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-27 04:34:13 +01:00
relay: explicitly mention forwarding in relayed kill messages (#520)
This commit is contained in:
parent
7d56b30582
commit
2e3317ce07
@ -1906,7 +1906,7 @@ def handle_kill(irc, numeric, command, args):
|
|||||||
# Target user was remote:
|
# Target user was remote:
|
||||||
if realuser and realuser[0] != irc.name:
|
if realuser and realuser[0] != irc.name:
|
||||||
del relayusers[realuser][irc.name]
|
del relayusers[realuser][irc.name]
|
||||||
fwd_reason = 'KILL from %s/%s: %s' % (irc.get_friendly_name(numeric), irc.name, args['text'])
|
fwd_reason = 'KILL FWD from %s/%s: %s' % (irc.get_friendly_name(numeric), irc.name, args['text'])
|
||||||
|
|
||||||
origirc = world.networkobjects[realuser[0]]
|
origirc = world.networkobjects[realuser[0]]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user