small fix

This commit is contained in:
Maxime Coste 2014-11-13 22:17:10 +00:00
parent 3a817e2f96
commit 7064679c2a

View File

@ -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"))