From 693e6a8b9335f570c2594ab5e513f03309869d1b Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 5 Dec 2019 17:28:53 +0000 Subject: [PATCH] 'server' -> 'event["server"]' --- modules/karma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/karma.py b/modules/karma.py index c3097cdd..71352a3b 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -104,7 +104,7 @@ class Module(ModuleManager.BaseModule): target = event["user"].nickname target = self._get_target(event["server"], target) - karma = self._karma_str(self._get_karma(server, target)) + karma = self._karma_str(self._get_karma(event["server"], target)) event["stdout"].write("%s has %s karma" % (target, karma))