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:
parent
484fd1f51f
commit
ee456cc2af
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user