mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
unreal: fix TypeError in mode() from accessing set items by index
This commit is contained in:
parent
4b69edcbd7
commit
bd79c71b85
@ -207,6 +207,10 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
|
||||
if utils.isChannel(target):
|
||||
|
||||
# Fix assignment TypeError in the expandPUID bit (sets can't be
|
||||
# assigned to by index).
|
||||
modes = list(modes)
|
||||
|
||||
# Make sure we expand any PUIDs when sending outgoing modes...
|
||||
for idx, mode in enumerate(modes):
|
||||
if mode[0][-1] in self.prefixmodes:
|
||||
|
Loading…
Reference in New Issue
Block a user