aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/karma.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/karma.py b/modules/karma.py
index 221e39fb..71ac8fe8 100644
--- a/modules/karma.py
+++ b/modules/karma.py
@@ -64,7 +64,9 @@ class Module(ModuleManager.BaseModule):
self._set_throttle(sender, positive)
karma_str = self._karma_str(karma)
- return True, "%s now has %s karma" % (target, karma_str)
+
+ return True, "%s has given %s %s karma" % (
+ sender.nickname, target, karma_str)
@utils.hook("command.regex", pattern=REGEX_WORD)
@utils.hook("command.regex", pattern=REGEX_PARENS)
@@ -110,7 +112,6 @@ class Module(ModuleManager.BaseModule):
karma = self._karma_str(sum(settings.values()))
event["stdout"].write("%s has %s karma" % (target, karma))
-
@utils.hook("received.command.resetkarma")
@utils.kwarg("min_args", 2)
@utils.kwarg("help", "Reset a specific karma to 0")