small fix
This commit is contained in:
parent
3a817e2f96
commit
7064679c2a
|
@ -553,7 +553,7 @@ const CommandDesc add_hook_cmd = {
|
||||||
|
|
||||||
if (regex_match(param.begin(), param.end(), regex))
|
if (regex_match(param.begin(), param.end(), regex))
|
||||||
CommandManager::instance().execute(command, context, {},
|
CommandManager::instance().execute(command, context, {},
|
||||||
{ { "hook_param", param.str() } });
|
{ { "hook_param", param } });
|
||||||
};
|
};
|
||||||
StringView group;
|
StringView group;
|
||||||
if (parser.has_option("group"))
|
if (parser.has_option("group"))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user