3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-11-01 09:19:23 +01:00

relay: don't spawn tagged clones for the internal PyLink client

This commit is contained in:
James Lu 2015-07-16 12:23:04 -07:00
parent d97fce8205
commit 40fd9e37a0

View File

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