summaryrefslogtreecommitdiff
path: root/src/client_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/client_manager.cc')
-rw-r--r--src/client_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client_manager.cc b/src/client_manager.cc
index 612d1753..18aa175f 100644
--- a/src/client_manager.cc
+++ b/src/client_manager.cc
@@ -67,7 +67,7 @@ Client* ClientManager::create_client(std::unique_ptr<UserInterface>&& ui, int pi
{
client->context().print_status({ fix_atom_text(error.what().str()),
client->context().faces()["Error"] });
- client->context().hooks().run_hook("RuntimeError", error.what(),
+ client->context().hooks().run_hook(Hook::RuntimeError, error.what(),
client->context());
}