Module: kamailio
Branch: 5.3
Commit: 420173265bbcd484deeb289f2d7009c3a6bb3294
URL:
https://github.com/kamailio/kamailio/commit/420173265bbcd484deeb289f2d7009c…
Author: Stefan Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Committer: Stefan Mititelu <stefan-cristian.mititelu(a)1and1.ro>
Date: 2021-10-25T10:00:21+03:00
presence: fix build
---
Modified: src/modules/presence/presence_dmq.c
---
Diff:
https://github.com/kamailio/kamailio/commit/420173265bbcd484deeb289f2d7009c…
Patch:
https://github.com/kamailio/kamailio/commit/420173265bbcd484deeb289f2d7009c…
---
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;
}