mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-30 14:49:28 +01:00
unreal: fix userlist parsing breaking with Unreal 3.2 nicks starting with a symbol
This commit is contained in:
parent
1d6da68963
commit
fccec3a195
@ -615,7 +615,9 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
elif userpair.startswith("'"):
|
||||
changedmodes.add(('+I', userpair[1:]))
|
||||
else:
|
||||
r = re.search(r'([^\w]*)(.*)', userpair)
|
||||
# Note: don't be too zealous in matching here or we'll break with nicks
|
||||
# like "[abcd]".
|
||||
r = re.search(r'([~*@%+]*)(.*)', userpair)
|
||||
user = r.group(2)
|
||||
|
||||
if not user:
|
||||
|
Loading…
Reference in New Issue
Block a user