mirror of
https://github.com/jlu5/PyLink.git
synced 2025-01-12 05:02:33 +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):
|
# If the user (stored here as {(netname, UID):
|
||||||
# {network1: UID1, network2: UID2}}) exists, don't spawn it
|
# {network1: UID1, network2: UID2}}) exists, don't spawn it
|
||||||
# again!
|
# again!
|
||||||
|
if user == remoteirc.pseudoclient.uid:
|
||||||
|
return irc.pseudoclient.uid
|
||||||
|
if user == irc.pseudoclient.uid:
|
||||||
|
return remoteirc.pseudoclient.uid
|
||||||
try:
|
try:
|
||||||
u = relayusers[(irc.name, user)][remoteirc.name]
|
u = relayusers[(irc.name, user)][remoteirc.name]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
|
Loading…
Reference in New Issue
Block a user