mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-28 05:29:25 +01:00
relay: don't relay messages sent to the PyLink client
This commit is contained in:
parent
00e28047f7
commit
688675d484
@ -255,6 +255,8 @@ def handle_privmsg(irc, numeric, command, args):
|
|||||||
notice = (command == 'NOTICE')
|
notice = (command == 'NOTICE')
|
||||||
target = args['target']
|
target = args['target']
|
||||||
text = args['text']
|
text = args['text']
|
||||||
|
if target == irc.pseudoclient.uid:
|
||||||
|
return
|
||||||
for netname, user in relayusers[(irc.name, numeric)].items():
|
for netname, user in relayusers[(irc.name, numeric)].items():
|
||||||
remoteirc = utils.networkobjects[netname]
|
remoteirc = utils.networkobjects[netname]
|
||||||
if utils.isChannel(target):
|
if utils.isChannel(target):
|
||||||
|
Loading…
Reference in New Issue
Block a user