mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Validate module options on start_module/2
This commit is contained in:
parent
31fa36003f
commit
a2a4a4970e
@ -178,7 +178,7 @@ start_module(Host, Module) ->
|
||||
Modules = get_modules_options(Host),
|
||||
case lists:keyfind(Module, 1, Modules) of
|
||||
{_, Opts} ->
|
||||
start_module(Host, Module, Opts, false);
|
||||
start_module(Host, Module, Opts);
|
||||
false ->
|
||||
{error, not_found_in_config}
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user