diff options
| author | 2020-01-22 16:32:31 +0000 | |
|---|---|---|
| committer | 2020-01-22 16:32:31 +0000 | |
| commit | e7a1b157de7db17bc5bf21133b7a30644b7137ad (patch) | |
| tree | 666cb2c687514f9dca9a3180da4e625d9747d6a7 | |
| parent | change utils.irc.strip_font() to remove tokens, no regex (diff) | |
| signature | ||
actually use `args` var
| -rw-r--r-- | modules/rainbow.py | 2 |
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) |
