mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-24 19:52:53 +01:00
unreal: work around a potential race when sending kills on join
This commit is contained in:
parent
190e51211f
commit
1780271dd0
@ -607,6 +607,11 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
continue
|
||||
|
||||
user = self._get_UID(user) # Normalize nicks to UIDs for Unreal 3.2 links
|
||||
if user not in self.users:
|
||||
# Work around a potential race when sending kills on join
|
||||
log.debug("(%s) Ignoring user %s in SJOIN to %s, they don't exist anymore", self.name, user, channel)
|
||||
continue
|
||||
|
||||
# Unreal uses slightly different prefixes in SJOIN. +q is * instead of ~,
|
||||
# and +a is ~ instead of &.
|
||||
modeprefix = (r.group(1) or '').replace("~", "&").replace("*", "~")
|
||||
|
Loading…
Reference in New Issue
Block a user