mirror of
https://github.com/processone/ejabberd
synced 2025-10-06 03:50:15 +02:00
ext_mod must be started before ejabberd_config
This commit is contained in:
parent
8c1864eca1
commit
48c5e73321
1 changed files with 4 additions and 9 deletions
|
@ -42,15 +42,10 @@
|
|||
%% -- ejabberd init and commands
|
||||
|
||||
start() ->
|
||||
case is_contrib_allowed() of
|
||||
true ->
|
||||
[code:add_patha(module_ebin_dir(Module))
|
||||
|| {Module, _} <- installed()],
|
||||
application:start(inets),
|
||||
ejabberd_commands:register_commands(commands());
|
||||
false ->
|
||||
ok
|
||||
end.
|
||||
ejabberd_commands:register_commands(commands()).
|
||||
|
||||
stop() ->
|
||||
ejabberd_commands:unregister_commands(commands()).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue