aboutsummaryrefslogtreecommitdiff
path: root/modules/rainbow.py
diff options
context:
space:
mode:
authorGravatar jesopo2020-01-22 16:32:31 +0000
committerGravatar jesopo2020-01-22 16:32:31 +0000
commite7a1b157de7db17bc5bf21133b7a30644b7137ad (patch)
tree666cb2c687514f9dca9a3180da4e625d9747d6a7 /modules/rainbow.py
parentchange utils.irc.strip_font() to remove tokens, no regex (diff)
signature
actually use `args` var
Diffstat (limited to 'modules/rainbow.py')
-rw-r--r--modules/rainbow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/rainbow.py b/modules/rainbow.py
index fc9bf440..8be169e1 100644
--- a/modules/rainbow.py
+++ b/modules/rainbow.py
@@ -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)