_get_target needs params

This commit is contained in:
jesopo 2019-12-01 10:32:40 +00:00
parent 2ecdc05d64
commit e96173d60c

View file

@ -51,7 +51,7 @@ class Module(ModuleManager.BaseModule):
if not self._check_throttle(sender, positive): if not self._check_throttle(sender, positive):
return False, "Try again in a couple of seconds" return False, "Try again in a couple of seconds"
target = self._get_target() target = self._get_target(server, target)
setting = "karma-%s" % target setting = "karma-%s" % target
karma = sender.get_setting(setting, 0) karma = sender.get_setting(setting, 0)