diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2015-09-11 14:32:58 +0200 |
---|---|---|
committer | Badlop <badlop@process-one.net> | 2015-09-11 15:14:12 +0200 |
commit | 48c5e733218343f7aac347e0147692601ff57bef (patch) | |
tree | 294c8ead3876cf7bcda193543aa77d5f27b5f343 /src/ext_mod.erl | |
parent | Update German translation (thanks to Nikolaus Polak) (diff) |
ext_mod must be started before ejabberd_config
Diffstat (limited to 'src/ext_mod.erl')
-rw-r--r-- | src/ext_mod.erl | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/src/ext_mod.erl b/src/ext_mod.erl index 002c5dd9..4b9ddafa 100644 --- a/src/ext_mod.erl +++ b/src/ext_mod.erl @@ -42,15 +42,10 @@ %% -- ejabberd init and commands 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 -> - ok - end. + [code:add_patha(module_ebin_dir(Module)) + || {Module, _} <- installed()], + application:start(inets), + ejabberd_commands:register_commands(commands()). stop() -> ejabberd_commands:unregister_commands(commands()). |