diff options
Diffstat (limited to 'src/mod_vcard.erl')
-rw-r--r-- | src/mod_vcard.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_vcard.erl b/src/mod_vcard.erl index e5f5d9e3c..5e042528b 100644 --- a/src/mod_vcard.erl +++ b/src/mod_vcard.erl @@ -596,7 +596,7 @@ import(LServer, DBType, VCard) -> mod_opt_type(allow_return_all) -> fun (B) when is_boolean(B) -> B end; -mod_opt_type(db_type) -> fun gen_mod:v_db/1; +mod_opt_type(db_type) -> fun(T) -> ejabberd_config:v_db(?MODULE, T) end; mod_opt_type(host) -> fun iolist_to_binary/1; mod_opt_type(iqdisc) -> fun gen_iq_handler:check_type/1; mod_opt_type(matches) -> |