summaryrefslogtreecommitdiff
path: root/funcs/func_holdintercept.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_holdintercept.c')
-rw-r--r--funcs/func_holdintercept.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_holdintercept.c b/funcs/func_holdintercept.c
index c2435463a..2a1cbb8c1 100644
--- a/funcs/func_holdintercept.c
+++ b/funcs/func_holdintercept.c
@@ -228,7 +228,7 @@ static int unload_module(void)
/*! \internal \brief Load the module */
static int load_module(void)
{
- return ast_custom_function_register(&hold_intercept_function) ? AST_MODULE_LOAD_FAILURE : AST_MODULE_LOAD_SUCCESS;
+ return ast_custom_function_register(&hold_intercept_function) ? AST_MODULE_LOAD_DECLINE : AST_MODULE_LOAD_SUCCESS;
}
AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "Hold interception dialplan function");