diff options
Diffstat (limited to 'src/mod_roster.erl')
-rw-r--r-- | src/mod_roster.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_roster.erl b/src/mod_roster.erl index 16354dd8..b3a627f7 100644 --- a/src/mod_roster.erl +++ b/src/mod_roster.erl @@ -1236,7 +1236,7 @@ import(LServer, DBType, R) -> mod_opt_type(access) -> fun (A) when is_atom(A) -> A 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(iqdisc) -> fun gen_iq_handler:check_type/1; mod_opt_type(managers) -> fun (B) when is_list(B) -> B end; |