From b8adb6f52d35edbdcb051766ca4918a622985e0c Mon Sep 17 00:00:00 2001 From: jesopo Date: Sun, 15 Sep 2019 22:52:20 +0100 Subject: [PATCH] [:1] -> [:-1] --- modules/karma.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)