From e96173d60c2b9eedc648b7ba262806cf073d6dc3 Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 1 Dec 2019 10:32:40 +0000 Subject: [PATCH] _get_target needs params --- modules/karma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/karma.py b/modules/karma.py index e31305fd..221e39fb 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -51,7 +51,7 @@ class Module(ModuleManager.BaseModule): if not self._check_throttle(sender, positive): return False, "Try again in a couple of seconds" - target = self._get_target() + target = self._get_target(server, target) setting = "karma-%s" % target karma = sender.get_setting(setting, 0)