You can't minus a set from a list (auto_mode.py)
This commit is contained in:
parent
1da66fb72d
commit
0fc2dd8754
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class Module(ModuleManager.BaseModule):
|
|||
modes = self._get_modes(channel, user)
|
||||
if modes:
|
||||
current_modes = channel.get_user_status(user)
|
||||
new_modes = modes-current_modes
|
||||
new_modes = set(modes)-current_modes
|
||||
channel.send_mode("+%s" % "".join(new_modes),
|
||||
[user.nickname for mode in new_modes])
|
||||
|
||||
|
|
Loading…
Reference in a new issue