From dda27c1b1cfff75398335ee9578e2ad5693c0be4 Mon Sep 17 00:00:00 2001 From: James Lu Date: Fri, 11 Oct 2019 23:23:58 -0700 Subject: [PATCH] =?UTF-8?q?Show=200=20karma=20in=20the=20colour=20of=20gol?= =?UTF-8?q?d=E2=84=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/karma.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/karma.py b/modules/karma.py index d5b9ae9f..2634f8d6 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -21,7 +21,8 @@ class Module(ModuleManager.BaseModule): return utils.irc.color(str(karma), utils.consts.RED) elif karma > 0: return utils.irc.color(str(karma), utils.consts.LIGHTGREEN) - return str(karma) + else: + return utils.irc.color(str(karma), utils.consts.YELLOW) @utils.hook("new.user") def new_user(self, event):