mirror of
https://github.com/jlu5/PyLink.git
synced 2025-11-21 01:37:30 +01:00
Fix #74 for real?
This commit is contained in:
parent
ddefd38591
commit
a38fe1ab90
@ -120,8 +120,6 @@ def getRemoteUser(irc, remoteirc, user, spawnIfMissing=True):
|
|||||||
# {'network1': 'UID1', 'network2': 'UID2'}}) exists, don't spawn it
|
# {'network1': 'UID1', 'network2': 'UID2'}}) exists, don't spawn it
|
||||||
# again!
|
# again!
|
||||||
try:
|
try:
|
||||||
if user == remoteirc.pseudoclient.uid:
|
|
||||||
return irc.pseudoclient.uid
|
|
||||||
if user == irc.pseudoclient.uid:
|
if user == irc.pseudoclient.uid:
|
||||||
return remoteirc.pseudoclient.uid
|
return remoteirc.pseudoclient.uid
|
||||||
except AttributeError: # Network hasn't been initialized yet?
|
except AttributeError: # Network hasn't been initialized yet?
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user