diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-04-29 11:48:57 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2017-04-29 11:48:57 +0300 |
commit | 2b63d07329b2af63d63b14d237e63565f78e8018 (patch) | |
tree | 3a4b245b5d50cb4f54a6777d20e138efed105835 /src/ext_mod.erl | |
parent | Fix elixir tests (diff) | |
parent | Don't validate an option in ejabberd_config:get_option() functions (diff) |
Merge branch 'new-option-validation'
Diffstat (limited to 'src/ext_mod.erl')
-rw-r--r-- | src/ext_mod.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 6ca218c2a..15fe8e17f 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -439,11 +439,7 @@ short_spec({Module, Attrs}) when is_atom(Module), is_list(Attrs) -> {Module, proplists:get_value(summary, Attrs, "")}. is_contrib_allowed() -> - ejabberd_config:get_option(allow_contrib_modules, - fun(false) -> false; - (no) -> false; - (_) -> true - end, true). + ejabberd_config:get_option(allow_contrib_modules, true). %% -- build functions |