diff --git a/cdr/cdr_manager.c b/cdr/cdr_manager.c index 4e43a30ff7..bd6ef67098 100644 --- a/cdr/cdr_manager.c +++ b/cdr/cdr_manager.c @@ -146,7 +146,7 @@ static int load_module(void) int res; /* Configuration file */ - if(loadconfigurationfile()) + if (!loadconfigurationfile()) return AST_MODULE_LOAD_DECLINE; res = ast_cdr_register(name, "Asterisk Manager Interface CDR Backend", manager_log);