'server' -> 'event["server"]'

This commit is contained in:
jesopo 2019-12-05 17:28:53 +00:00
parent 90cbc5a36f
commit 693e6a8b93

View file

@ -104,7 +104,7 @@ class Module(ModuleManager.BaseModule):
target = event["user"].nickname target = event["user"].nickname
target = self._get_target(event["server"], target) 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)) event["stdout"].write("%s has %s karma" % (target, karma))