'server' -> 'event["server"]'
This commit is contained in:
parent
90cbc5a36f
commit
693e6a8b93
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue