From ef3bdbf9fc2768ff83932daa46010b976e3616db Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 22 Jan 2020 16:32:38 +0000 Subject: [PATCH] strip all font before rainbowifying text --- modules/rainbow.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/rainbow.py b/modules/rainbow.py index 8be169e1..a7a174b9 100644 --- a/modules/rainbow.py +++ b/modules/rainbow.py @@ -32,6 +32,7 @@ class Module(ModuleManager.BaseModule): args = event["target"].buffer.get() if not args: raise utils.EventError("No line found to rainbowify") + args = utils.irc.strip_font(args) offset = random.randint(0, len(COLORS)) out = ""