mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Add contributed modules code path on start
This commit is contained in:
parent
588f98fc3a
commit
5b9635cc07
@ -43,6 +43,8 @@
|
||||
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 ->
|
||||
|
Loading…
Reference in New Issue
Block a user