Module: kamailio
Branch: 5.3
Commit: eee27448e603d554b1486376909947995c94d207
URL:
https://github.com/kamailio/kamailio/commit/eee27448e603d554b14863769099479…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: GitHub <noreply(a)github.com>
Date: 2021-10-25T09:11:46+02:00
Merge pull request #2901 from smititelu/5.3
presence: fix build
---
Modified: src/modules/presence/presence_dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/eee27448e603d554b14863769099479…
Patch:
https://github.com/kamailio/kamailio/commit/eee27448e603d554b14863769099479…
---
diff --git a/src/modules/presence/presence_dmq.c b/src/modules/presence/presence_dmq.c
index 8dd7c99fe8..a9ed2f2f4e 100644
--- a/src/modules/presence/presence_dmq.c
+++ b/src/modules/presence/presence_dmq.c
@@ -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;
}