diff options
| author | 2019-09-15 22:52:20 +0100 | |
|---|---|---|
| committer | 2019-09-15 22:52:20 +0100 | |
| commit | b8adb6f52d35edbdcb051766ca4918a622985e0c (patch) | |
| tree | f29085c6c92dc7e1fe6b48dea64d11a382aca795 | |
| parent | '[1:]' -> '[:1]' (diff) | |
| signature | ||
[:1] -> [:-1]
| -rw-r--r-- | modules/karma.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/karma.py b/modules/karma.py index c89e615a..c9dfac88 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -84,7 +84,7 @@ class Module(ModuleManager.BaseModule): target = event["match"].group(2).strip().rstrip("".join(WORD_STOP)) if event["match"].group(1): if not target: - target = event["match"].group(1)[:1] + target = event["match"].group(1)[:-1] elif not event["server"].has_user(event["match"].group(1)[:-1]): target = "%s %s" % (event["match"].group(1), target) |
