diff options
Diffstat (limited to 'src/mod_offline.erl')
-rw-r--r-- | src/mod_offline.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_offline.erl b/src/mod_offline.erl index 356d89a67..4d8aba762 100644 --- a/src/mod_offline.erl +++ b/src/mod_offline.erl @@ -867,7 +867,7 @@ import(LServer, DBType, Data) -> mod_opt_type(access_max_user_messages) -> fun (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(store_empty_body) -> fun (V) when is_boolean(V) -> V; (unless_chat_state) -> unless_chat_state |