diff --git a/modules/karma.py b/modules/karma.py index c7c3a263..b0c220a8 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -1,7 +1,7 @@ import re, time import EventManager, Utils -REGEX_KARMA = re.compile("(.*)(\+{2,}|\-{2,})$") +REGEX_KARMA = re.compile("^(.*[^-+])[-+]*(\+{2,}|\-{2,})$") KARMA_DELAY_SECONDS = 3 class Module(object):