Karma is now being used as karma_str, thus we need a %s not a %d (karma.py)

This commit is contained in:
jesopo 2019-01-11 17:35:18 +00:00
parent 415afe7e27
commit 3cc9bc9dbb

View file

@ -67,7 +67,7 @@ class Module(ModuleManager.BaseModule):
if verbose: if verbose:
self.events.on("send.stdout").call( self.events.on("send.stdout").call(
module_name="Karma", target=event["channel"], module_name="Karma", target=event["channel"],
message="%s now has %d karma" % (target, karma_str), message="%s now has %s karma" % (target, karma_str),
server=event["server"]) server=event["server"])
event["user"].last_karma = time.time() event["user"].last_karma = time.time()
elif verbose: elif verbose: