prefix
can be None - null-coalesce it to empty string
This commit is contained in:
parent
02e734824f
commit
d24442587c
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
args = [u.account for u in users if not u.account == None]
|
args = [u.account for u in users if not u.account == None]
|
||||||
|
|
||||||
if args:
|
if args:
|
||||||
args = [(mode, "%s%s" % (prefix, a)) for a in args]
|
args = [(mode, "%s%s" % (prefix or "", a)) for a in args]
|
||||||
spec[0].send_modes(args, True)
|
spec[0].send_modes(args, True)
|
||||||
|
|
||||||
if not spec[1] == None:
|
if not spec[1] == None:
|
||||||
|
|
Loading…
Reference in a new issue