25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-26 17:38:45 +01:00

Fix regression introduced when code was binarized (EJAB-641)

This commit is contained in:
Badlop 2015-09-24 17:21:14 +02:00
parent 484fd1f51f
commit ee456cc2af

View File

@ -311,7 +311,9 @@ get_mod_last_configured(Server) ->
end.
is_configured(Host, Module) ->
gen_mod:is_loaded(Host, Module).
Os = ejabberd_config:get_local_option({modules, Host},
fun(M) when is_list(M) -> M end),
lists:keymember(Module, 1, Os).
opt_type(extauth_cache) ->
fun (false) -> undefined;