mirror of
https://github.com/jlu5/PyLink.git
synced 2024-12-17 23:52:49 +01:00
unreal: remove duplicate conversion
This commit is contained in:
parent
e929fda293
commit
667fa610ec
@ -214,12 +214,8 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
self.apply_modes(target, modes)
|
||||
|
||||
if self.is_channel(target):
|
||||
|
||||
# Fix assignment TypeError in the expandPUID bit (sets can't be
|
||||
# assigned to by index).
|
||||
modes = list(modes)
|
||||
|
||||
modes = list(modes) # Needed for indexing
|
||||
|
||||
# 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