Merge pull request #176 from jlu5/patch-1
Show 0 karma in the colour of gold™
This commit is contained in:
commit
5233ddb20a
1 changed files with 2 additions and 1 deletions
|
@ -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):
|
||||
|
|
Loading…
Reference in a new issue