change to karma regex to best-effort strip "nick: "
This commit is contained in:
parent
1340691413
commit
4e617366d3
1 changed files with 1 additions and 1 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue