diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-04-27 17:10:50 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-04-27 17:10:50 +0300 |
commit | 9c369b7a8cdb45fe8b14f35cf98df62f4e089eef (patch) | |
tree | 26712ce04f29c614480ee0563a50086833888b89 /src/mod_irc.erl | |
parent | Force ERL_PATH for elixir (diff) |
Improve detection of databases supported by modules (#1092)
Diffstat (limited to 'src/mod_irc.erl')
-rw-r--r-- | src/mod_irc.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_irc.erl b/src/mod_irc.erl index e0c658de..f6487a1a 100644 --- a/src/mod_irc.erl +++ b/src/mod_irc.erl @@ -1253,7 +1253,7 @@ import(LServer, DBType, Data) -> 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(default_encoding) -> fun iolist_to_binary/1; mod_opt_type(host) -> fun iolist_to_binary/1; |