mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
relay: don't spawn tagged clones for the internal PyLink client
This commit is contained in:
parent
d97fce8205
commit
40fd9e37a0
@ -88,6 +88,10 @@ def getRemoteUser(irc, remoteirc, user):
|
||||
# If the user (stored here as {(netname, UID):
|
||||
# {network1: UID1, network2: UID2}}) exists, don't spawn it
|
||||
# again!
|
||||
if user == remoteirc.pseudoclient.uid:
|
||||
return irc.pseudoclient.uid
|
||||
if user == irc.pseudoclient.uid:
|
||||
return remoteirc.pseudoclient.uid
|
||||
try:
|
||||
u = relayusers[(irc.name, user)][remoteirc.name]
|
||||
except KeyError:
|
||||
|
Loading…
Reference in New Issue
Block a user