From 7064679c2acbfaeeb69b2494760171f711c8c855 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 13 Nov 2014 22:17:10 +0000 Subject: [PATCH] small fix --- src/commands.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.cc b/src/commands.cc index 79c8fa4c..a6dbd5f7 100644 --- a/src/commands.cc +++ b/src/commands.cc @@ -553,7 +553,7 @@ const CommandDesc add_hook_cmd = { if (regex_match(param.begin(), param.end(), regex)) CommandManager::instance().execute(command, context, {}, - { { "hook_param", param.str() } }); + { { "hook_param", param } }); }; StringView group; if (parser.has_option("group"))