channel_user.modes is now a set
This commit is contained in:
parent
64935c7a8d
commit
c7604686a2
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ class Server(IServer):
|
|||
for symbol in symbols:
|
||||
mode = self.isupport.prefix.from_prefix(symbol)
|
||||
if mode is not None:
|
||||
channel_user.modes.append(mode)
|
||||
channel_user.modes.add(mode)
|
||||
|
||||
obj.channels.append(channel_user)
|
||||
elif line.command == RPL_ENDOFWHOIS:
|
||||
|
|
Loading…
Add table
Reference in a new issue