3
0
mirror of https://github.com/jlu5/PyLink.git synced 2024-12-25 20:22:45 +01:00

relay: Fix remoteuser being None for spawned pseudoclients

We're supposed to ignore these anyways... Closes #74.
This commit is contained in:
James Lu 2015-07-21 19:28:34 -07:00
parent 8f13ae778a
commit 3b79adf4e5

View File

@ -588,7 +588,7 @@ def relayJoins(irc, channel, users, ts, modes):
continue continue
except (AttributeError, KeyError): # Nope, it isn't. except (AttributeError, KeyError): # Nope, it isn't.
pass pass
if utils.isInternalClient(irc, user): if utils.isInternalClient(irc, user) or user not in irc.users:
# We don't need to clone PyLink pseudoclients... That's # We don't need to clone PyLink pseudoclients... That's
# meaningless. # meaningless.
continue continue