summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2014-11-13 22:17:10 +0000
committerMaxime Coste <frrrwww@gmail.com>2014-11-13 22:17:10 +0000
commit7064679c2acbfaeeb69b2494760171f711c8c855 (patch)
treeec361993565691505de1e71bfe3e4fe902331b18 /src
parent3a817e2f96a30faef03565c510f626ac73fd46ed (diff)
small fix
Diffstat (limited to 'src')
-rw-r--r--src/commands.cc2
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"))