mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-28 05:29:25 +01:00
relay: fix PMs across the relay (7d919e64
regression)
This commit is contained in:
parent
55d9eb240f
commit
f20e677577
@ -687,7 +687,7 @@ def handle_messages(irc, numeric, command, args):
|
|||||||
notice = (command in ('NOTICE', 'PYLINK_SELF_NOTICE'))
|
notice = (command in ('NOTICE', 'PYLINK_SELF_NOTICE'))
|
||||||
target = args['target']
|
target = args['target']
|
||||||
text = args['text']
|
text = args['text']
|
||||||
if utils.isInternalClient(irc, target):
|
if utils.isInternalClient(irc, numeric):
|
||||||
return
|
return
|
||||||
relay = getRelay((irc.name, target))
|
relay = getRelay((irc.name, target))
|
||||||
remoteusers = relayusers[(irc.name, numeric)]
|
remoteusers = relayusers[(irc.name, numeric)]
|
||||||
|
Loading…
Reference in New Issue
Block a user