diff options
| author | 2019-09-15 22:50:55 +0100 | |
|---|---|---|
| committer | 2019-09-15 22:50:55 +0100 | |
| commit | 52a7bf400f97f1a031e4c5c22fa19d6a1552003f (patch) | |
| tree | 0770c5e564e3b17c7bc0047cdcfb94b0f655095c /modules/karma.py | |
| parent | strip ":" from "nick: ++" (diff) | |
| signature | ||
'[1:]' -> '[:1]'
Diffstat (limited to 'modules/karma.py')
| -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 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) |
