diff options
Diffstat (limited to 'res/res_jabber.c')
-rw-r--r-- | res/res_jabber.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_jabber.c b/res/res_jabber.c index 8f8f91af8..38b1b5959 100644 --- a/res/res_jabber.c +++ b/res/res_jabber.c @@ -2883,7 +2883,7 @@ static int aji_load_config(int reload) /* Reset flags to default value */ ast_set_flag(&globalflags, AJI_AUTOREGISTER); - if (!cfg) { + if (cfg == CONFIG_STATUS_FILEMISSING || cfg == CONFIG_STATUS_FILEINVALID) { ast_log(LOG_WARNING, "No such configuration file %s\n", JABBER_CONFIG); return 0; } |