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
1 changed files with 2 additions and 0 deletions

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