mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-24 03:29:28 +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')
|
||||
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):
|
||||
|
Loading…
Reference in New Issue
Block a user