summaryrefslogtreecommitdiff
path: root/funcs/func_odbc.c
diff options
context:
space:
mode:
Diffstat (limited to 'funcs/func_odbc.c')
-rw-r--r--funcs/func_odbc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/funcs/func_odbc.c b/funcs/func_odbc.c
index b380c1b40..30f873e9f 100644
--- a/funcs/func_odbc.c
+++ b/funcs/func_odbc.c
@@ -486,7 +486,7 @@ static int odbc_load_module(void)
if (!cfg) {
ast_log(LOG_NOTICE, "Unable to load config for func_odbc: %s\n", config);
AST_LIST_UNLOCK(&queries);
- return 0;
+ return AST_MODULE_LOAD_DECLINE;
}
for (catg = ast_category_browse(cfg, NULL);