25
1
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:
Christophe Romain 2015-03-13 12:20:25 +01:00
parent 588f98fc3a
commit 5b9635cc07

View File

@ -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 ->