Commit eb853fe2 authored by Marcin Siodelski's avatar Marcin Siodelski
Browse files

[master] Eliminate the risk of messing up the 'skip' status from hook.

This fix was okayed on Jabber.
parent 96feac82
......@@ -51,6 +51,11 @@ HookedCommandMgr::delegateCommandToHookLibrary(std::string& cmd_name,
ConstElementPtr hook_response;
if (HooksManager::calloutsPresent(Hooks.hook_index_control_command_receive_)) {
callout_handle_ = HooksManager::createCalloutHandle();
// Set status to normal.
// Delete previously set arguments.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment