mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
ext_mod must be started before ejabberd_config
This commit is contained in:
parent
8c1864eca1
commit
48c5e73321
@ -42,15 +42,10 @@
|
|||||||
%% -- ejabberd init and commands
|
%% -- ejabberd init and commands
|
||||||
|
|
||||||
start() ->
|
start() ->
|
||||||
case is_contrib_allowed() of
|
|
||||||
true ->
|
|
||||||
[code:add_patha(module_ebin_dir(Module))
|
[code:add_patha(module_ebin_dir(Module))
|
||||||
|| {Module, _} <- installed()],
|
|| {Module, _} <- installed()],
|
||||||
application:start(inets),
|
application:start(inets),
|
||||||
ejabberd_commands:register_commands(commands());
|
ejabberd_commands:register_commands(commands()).
|
||||||
false ->
|
|
||||||
ok
|
|
||||||
end.
|
|
||||||
|
|
||||||
stop() ->
|
stop() ->
|
||||||
ejabberd_commands:unregister_commands(commands()).
|
ejabberd_commands:unregister_commands(commands()).
|
||||||
|
Loading…
Reference in New Issue
Block a user