summaryrefslogtreecommitdiff
path: root/res/res_endpoint_stats.c
diff options
context:
space:
mode:
Diffstat (limited to 'res/res_endpoint_stats.c')
-rw-r--r--res/res_endpoint_stats.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_endpoint_stats.c b/res/res_endpoint_stats.c
index 249cbea9b..1e3f104c2 100644
--- a/res/res_endpoint_stats.c
+++ b/res/res_endpoint_stats.c
@@ -118,7 +118,7 @@ static int load_module(void)
router = stasis_message_router_create(ast_endpoint_topic_all_cached());
if (!router) {
- return AST_MODULE_LOAD_FAILURE;
+ return AST_MODULE_LOAD_DECLINE;
}
stasis_message_router_add(router, stasis_cache_update_type(), cache_update_cb, NULL);