Module: kamailio
Branch: master
Commit: 1226ae471627547ef00c651b78b37e1c397adc23
URL:
https://github.com/kamailio/kamailio/commit/1226ae471627547ef00c651b78b37e1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-05-05T08:49:32+02:00
db_perlvdb: proper lookup for app_perl module
- reported by shaheryarkh(a)gmail.com
---
Modified: src/modules/db_perlvdb/db_perlvdb.c
---
Diff:
https://github.com/kamailio/kamailio/commit/1226ae471627547ef00c651b78b37e1…
Patch:
https://github.com/kamailio/kamailio/commit/1226ae471627547ef00c651b78b37e1…
---
diff --git a/src/modules/db_perlvdb/db_perlvdb.c b/src/modules/db_perlvdb/db_perlvdb.c
index 7a2b63e434..266ece2fc5 100644
--- a/src/modules/db_perlvdb/db_perlvdb.c
+++ b/src/modules/db_perlvdb/db_perlvdb.c
@@ -75,8 +75,8 @@ struct module_exports exports = {
static int mod_init(void)
{
- if (!module_loaded("perl")) {
- LM_CRIT("perl module not loaded. Exiting.\n");
+ if (!module_loaded("app_perl")) {
+ LM_CRIT("app_perl module not loaded. Exiting.\n");
return -1;
}