3
0
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:
James Lu 2015-07-25 22:11:41 -07:00
parent ddefd38591
commit a38fe1ab90

View File

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