3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-24 11:39:25 +01:00

relay: don't relay messages sent to the PyLink client

This commit is contained in:
James Lu 2015-07-19 11:27:57 -07:00
parent 00e28047f7
commit 688675d484

View File

@ -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):