aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/karma.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/karma.py b/modules/karma.py
index 220d2f63..c560a505 100644
--- a/modules/karma.py
+++ b/modules/karma.py
@@ -8,7 +8,7 @@ from src import EventManager, ModuleManager, utils
KARMA_DELAY_SECONDS = 3
REGEX_WORD = re.compile(r"^([^(\s]+)[:,]?\s*(\+\+|--)\s*$")
-REGEX_PARENS = re.compile(r"\(([^)]+)\)\s*(\+\+|--)")
+REGEX_PARENS = re.compile(r"\(([^)]+)\)(\+\+|--)")
@utils.export("channelset", utils.BoolSetting("karma-pattern",
"Enable/disable parsing ++/-- karma format"))