mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-01 01:09:22 +01:00
unreal: fix TypeError when a set is given for modes in mode()
This commit is contained in:
parent
149fdde92f
commit
93704d85bf
@ -224,6 +224,7 @@ class UnrealProtocol(TS6BaseProtocol):
|
||||
|
||||
if utils.isChannel(target):
|
||||
|
||||
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.irc.prefixmodes:
|
||||
|
Loading…
Reference in New Issue
Block a user