mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Validate module options on start_module/2
This commit is contained in:
parent
31fa36003f
commit
a2a4a4970e
1 changed files with 1 additions and 1 deletions
|
@ -178,7 +178,7 @@ start_module(Host, Module) ->
|
||||||
Modules = get_modules_options(Host),
|
Modules = get_modules_options(Host),
|
||||||
case lists:keyfind(Module, 1, Modules) of
|
case lists:keyfind(Module, 1, Modules) of
|
||||||
{_, Opts} ->
|
{_, Opts} ->
|
||||||
start_module(Host, Module, Opts, false);
|
start_module(Host, Module, Opts);
|
||||||
false ->
|
false ->
|
||||||
{error, not_found_in_config}
|
{error, not_found_in_config}
|
||||||
end.
|
end.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue