channel_user.modes is now a set

This commit is contained in:
jesopo 2021-09-11 15:42:47 +00:00
parent 64935c7a8d
commit c7604686a2
1 changed files with 1 additions and 1 deletions

View File

@ -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: