aboutsummaryrefslogtreecommitdiff
path: root/modules/karma.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/karma.py')
-rw-r--r--modules/karma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/karma.py b/modules/karma.py
index a37f86d2..c89e615a 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)