diff options
| author | 2019-09-15 22:49:43 +0100 | |
|---|---|---|
| committer | 2019-09-15 22:49:43 +0100 | |
| commit | 4ed8906075582b6b729ab61a7c9be91772ecdd4a (patch) | |
| tree | 80d0f584d38249585544974358d8ba51d8eb5b1f /modules/karma.py | |
| parent | parse "nick: ++" as "nick++" (diff) | |
| signature | ||
strip ":" from "nick: ++"
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 e19ebc9c..a37f86d2 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) + 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) |
