summaryrefslogtreecommitdiff
path: root/src/ejabberd_sup.erl
diff options
context:
space:
mode:
authormichal <zielonka.michal@gmail.com>2017-04-06 08:50:23 +0200
committermichal <zielonka.michal@gmail.com>2017-04-06 08:50:23 +0200
commit81fe380de23c6ea72734f9157036cdfc062d5335 (patch)
tree1b71ae2ecfb119cea8fce0088c144f2e37d91ad7 /src/ejabberd_sup.erl
parentAdd description to feature-not-implemented error (diff)
Fix order of starting supervisors.
ExtMod should be loaded before GenModSupervisor because ext_mod adds proper paths to ebin from modules (ejabberd-contrib). Without this change you have to add -pa parameter with path to module's ebin.
Diffstat (limited to 'src/ejabberd_sup.erl')
-rw-r--r--src/ejabberd_sup.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ejabberd_sup.erl b/src/ejabberd_sup.erl
index 0a33a5c7..bfc6a0a9 100644
--- a/src/ejabberd_sup.erl
+++ b/src/ejabberd_sup.erl
@@ -173,7 +173,7 @@ init([]) ->
RouterMulticast,
Local,
SM,
- GenModSupervisor,
ExtMod,
+ GenModSupervisor,
Auth,
OAuth]}}.