Skip to content

Commit

Permalink
presence: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
smititelu committed Oct 25, 2021
1 parent 67f40d2 commit 4201732
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/presence/presence_dmq.c
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ static int pres_dmq_init_proc()
}
}

if(publ_cache_mode==PS_PCACHE_RECORD && pres_subs_dbmode==NO_DB) {
if(publ_cache_enabled && subs_dbmode==NO_DB) {
goto finish;
}

Expand Down

0 comments on commit 4201732

Please sign in to comment.