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

relay: continue, not return

(fix SQUIT not rejoining relay users properly)
This commit is contained in:
James Lu 2015-08-15 19:23:41 -07:00
parent 043a4bc27a
commit aec29d2aae

View File

@ -665,7 +665,7 @@ def relayJoins(irc, channel, users, ts, modes):
if isRelayClient(irc, user): if isRelayClient(irc, user):
# Don't clone relay clients; that'll cause some bad, bad # Don't clone relay clients; that'll cause some bad, bad
# things to happen. # things to happen.
return continue
log.debug('Okay, spawning %s/%s everywhere', user, irc.name) log.debug('Okay, spawning %s/%s everywhere', user, irc.name)
assert user in irc.users, "(%s) How is this possible? %r isn't in our user database." % (irc.name, user) assert user in irc.users, "(%s) How is this possible? %r isn't in our user database." % (irc.name, user)
u = getRemoteUser(irc, remoteirc, user) u = getRemoteUser(irc, remoteirc, user)