From f967f7a479217d15dca122c37f89a5aa8a98394f Mon Sep 17 00:00:00 2001 From: James Lu Date: Mon, 17 Aug 2015 21:15:44 -0700 Subject: [PATCH] relay: hotfix to fix KILL handling of relay clients (cherry picked from commit d6e6e56e032793a048c0744fdc1a48e26d250305) --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index 07bba7d..6a5f4ff 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -601,7 +601,7 @@ utils.add_hook(handle_topic, 'TOPIC') def handle_kill(irc, numeric, command, args): target = args['target'] userdata = args['userdata'] - realuser = getLocalUser(irc, target) + realuser = getLocalUser(irc, target) or userdata.__dict__.get('remote') log.debug('(%s) relay handle_kill: realuser is %r', irc.name, realuser) # Target user was remote: if realuser and realuser[0] != irc.name: