.strip() target name in !karma
This commit is contained in:
parent
a9b0dd331b
commit
8f05f66a03
1 changed files with 1 additions and 0 deletions
|
@ -73,6 +73,7 @@ class Module(ModuleManager.BaseModule):
|
|||
target = event["args"]
|
||||
else:
|
||||
target = event["user"].nickname
|
||||
target = target.strip()
|
||||
|
||||
if event["server"].get_setting("karma-nickname-only", False):
|
||||
karma = event["server"].get_user(target).get_setting("karma", 0)
|
||||
|
|
Loading…
Reference in a new issue