aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ext_mod.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl
index 11597ef24..99f5026d3 100644
--- a/src/ext_mod.erl
+++ b/src/ext_mod.erl
@@ -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 ->