diff options
| author | Maxime Coste <frrrwww@gmail.com> | 2014-11-13 22:17:10 +0000 |
|---|---|---|
| committer | Maxime Coste <frrrwww@gmail.com> | 2014-11-13 22:17:10 +0000 |
| commit | 7064679c2acbfaeeb69b2494760171f711c8c855 (patch) | |
| tree | ec361993565691505de1e71bfe3e4fe902331b18 /src | |
| parent | 3a817e2f96a30faef03565c510f626ac73fd46ed (diff) | |
small fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/commands.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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")) |
