actually use args var

This commit is contained in:
jesopo 2020-01-22 16:32:31 +00:00
parent 175e8c0a16
commit e7a1b157de

View file

@ -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)