From 688675d484155624b8b9ba28a75d22cfa23c73d8 Mon Sep 17 00:00:00 2001 From: James Lu Date: Sun, 19 Jul 2015 11:27:57 -0700 Subject: [PATCH] relay: don't relay messages sent to the PyLink client --- plugins/relay.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/relay.py b/plugins/relay.py index 8279d86..b317ce1 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -255,6 +255,8 @@ def handle_privmsg(irc, numeric, command, args): notice = (command == 'NOTICE') target = args['target'] text = args['text'] + if target == irc.pseudoclient.uid: + return for netname, user in relayusers[(irc.name, numeric)].items(): remoteirc = utils.networkobjects[netname] if utils.isChannel(target):