only voice/op people that dont have it already
This commit is contained in:
parent
a3ffc70bbc
commit
d3711a639f
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue