From 3b79adf4e5456186b842f311cdcaee3669ebd25e Mon Sep 17 00:00:00 2001 From: James Lu Date: Tue, 21 Jul 2015 19:28:34 -0700 Subject: [PATCH] relay: Fix remoteuser being None for spawned pseudoclients We're supposed to ignore these anyways... Closes #74. --- plugins/relay.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/relay.py b/plugins/relay.py index f125931..bee27c8 100644 --- a/plugins/relay.py +++ b/plugins/relay.py @@ -588,7 +588,7 @@ def relayJoins(irc, channel, users, ts, modes): continue except (AttributeError, KeyError): # Nope, it isn't. 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 # meaningless. continue