actually use args
var
This commit is contained in:
parent
175e8c0a16
commit
e7a1b157de
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ class Module(ModuleManager.BaseModule):
|
|||
|
||||
offset = random.randint(0, len(COLORS))
|
||||
out = ""
|
||||
for i, c in enumerate(event["args"]):
|
||||
for i, c in enumerate(args):
|
||||
color = COLORS[(i+offset)%len(COLORS)]
|
||||
out += utils.irc.color(c, color, terminate=False)
|
||||
event["stdout"].write(out)
|
||||
|
|
Loading…
Reference in a new issue