diff options
Diffstat (limited to 'src/lib/hooks/tests/load_callout_library.cc')
-rw-r--r-- | src/lib/hooks/tests/load_callout_library.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hooks/tests/load_callout_library.cc b/src/lib/hooks/tests/load_callout_library.cc index 40606f7466..613ec2c79f 100644 --- a/src/lib/hooks/tests/load_callout_library.cc +++ b/src/lib/hooks/tests/load_callout_library.cc @@ -142,8 +142,8 @@ int load(LibraryHandle& handle) { handle.registerCallout("hookpt_three", hook_nonstandard_three); // Register command_handler_one as control command handler. - handle.registerCommandHandler("command-one", command_handler_one); - handle.registerCommandHandler("command-two", command_handler_two); + handle.registerCommandCallout("command-one", command_handler_one); + handle.registerCommandCallout("command-two", command_handler_two); return (0); } |