aboutsummaryrefslogtreecommitdiff
path: root/src/gen_mod.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/gen_mod.erl')
-rw-r--r--src/gen_mod.erl3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gen_mod.erl b/src/gen_mod.erl
index aaf452aeb..f4aaaa4cb 100644
--- a/src/gen_mod.erl
+++ b/src/gen_mod.erl
@@ -470,6 +470,5 @@ get_module_proc(Host, Base) ->
is_loaded(Host, Module) ->
ets:member(ejabberd_modules, {Module, Host}).
-opt_type(default_db) -> fun(T) when is_atom(T) -> T end;
opt_type(modules) -> fun (L) when is_list(L) -> L end;
-opt_type(_) -> [default_db, modules].
+opt_type(_) -> [modules].