diff options
| author | 2020-02-25 11:32:40 +0000 | |
|---|---|---|
| committer | 2020-02-25 11:32:40 +0000 | |
| commit | d3711a639fc40e2aa44834b8e396f6522dab4765 (patch) | |
| tree | 24917cddb3966f22106c1563b8566e7b20861b97 /modules/channel_op.py | |
| parent | send KICK in max chunk of 4, MODE in max chunk of 6 (diff) | |
| signature | ||
only voice/op people that dont have it already
Diffstat (limited to 'modules/channel_op.py')
| -rw-r--r-- | modules/channel_op.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/channel_op.py b/modules/channel_op.py index d47c9d30..e1b623e7 100644 --- a/modules/channel_op.py +++ b/modules/channel_op.py @@ -381,7 +381,8 @@ class Module(ModuleManager.BaseModule): if is_mask: args = [self._get_hostmask(spec[0], u) for u in users] else: - args = [u.nickname for u in users] + args = [ + u.nickname for u in users if not spec[0].has_mode(u, mode)] spec[0].send_modes(mode, True, args) if not spec[1] == None: |
