don't group capture disregarded "nick: " prefix in karma
This commit is contained in:
parent
4e617366d3
commit
c631575e4f
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@ from src import EventManager, ModuleManager, utils
|
||||||
WORD_STOP = [",", ":"]
|
WORD_STOP = [",", ":"]
|
||||||
KARMA_DELAY_SECONDS = 3
|
KARMA_DELAY_SECONDS = 3
|
||||||
|
|
||||||
REGEX_KARMA = re.compile(r"^(?:(\S+)[:,] )?(.*)(\+{2}|\-{2})$")
|
REGEX_KARMA = re.compile(r"^(?:\S+[:,] )?(.*)(\+{2}|\-{2})$")
|
||||||
|
|
||||||
@utils.export("channelset", utils.BoolSetting("karma-verbose",
|
@utils.export("channelset", utils.BoolSetting("karma-verbose",
|
||||||
"Enable/disable automatically responding to karma changes"))
|
"Enable/disable automatically responding to karma changes"))
|
||||||
|
|
Loading…
Reference in a new issue