diff options
Diffstat (limited to 'modules')
| -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 fd61fc86..6b5cbdba 100644 --- a/modules/karma.py +++ b/modules/karma.py @@ -8,7 +8,7 @@ from src import EventManager, ModuleManager, utils WORD_STOP = [",", ":"] KARMA_DELAY_SECONDS = 3 -REGEX_KARMA = re.compile(r"^(.*)(\+{2}|\-{2})$") +REGEX_KARMA = re.compile(r"^(?:(\S+)[:,] )?(.*)(\+{2}|\-{2})$") @utils.export("channelset", utils.BoolSetting("karma-verbose", "Enable/disable automatically responding to karma changes")) |
