diff --git a/plugins/relay.py b/plugins/relay.py index d400f56..cf46006 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -687,7 +687,7 @@ def handle_messages(irc, numeric, command, args): notice = (command in ('NOTICE', 'PYLINK_SELF_NOTICE')) target = args['target'] text = args['text'] - if utils.isInternalClient(irc, target): + if utils.isInternalClient(irc, numeric): return relay = getRelay((irc.name, target)) remoteusers = relayusers[(irc.name, numeric)]