diff options
Diffstat (limited to 'src/hook_manager.cc')
| -rw-r--r-- | src/hook_manager.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hook_manager.cc b/src/hook_manager.cc index cc4c1ec6..d7879c61 100644 --- a/src/hook_manager.cc +++ b/src/hook_manager.cc @@ -51,7 +51,7 @@ void HookManager::run_hook(StringView hook_name, for (auto& hook : hook_list_it->second) { if (not hook.first.empty() and not disabled_hooks.empty() and - regex_match(hook.first, disabled_hooks)) + regex_match(hook.first.begin(), hook.first.end(), disabled_hooks)) continue; try |
