diff --git a/src/Akela/Leader.cpp b/src/Akela/Leader.cpp index 01cbc7f1..4ece766b 100644 --- a/src/Akela/Leader.cpp +++ b/src/Akela/Leader.cpp @@ -78,8 +78,8 @@ namespace Akela { void Leader::begin (void) { - event_handler_hook_add (this->eventHandlerHook); - loop_hook_add (this->loopHook); + event_handler_hook_use (this->eventHandlerHook); + loop_hook_use (this->loopHook); } void