diff options
author | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-06 14:58:48 +0300 |
---|---|---|
committer | Evgeniy Khramtsov <ekhramtsov@process-one.net> | 2016-07-06 14:58:48 +0300 |
commit | 4220a2b98cf08fda4445074f89e5bec5c5c06736 (patch) | |
tree | 1c97336460c5edf77c1beffe7f2cba0e35dd8498 /src/mod_configure.erl | |
parent | Add missing '/' for jid matching from commit e300f80 (diff) |
Make modules loading in a dependent order (#1191)
Diffstat (limited to 'src/mod_configure.erl')
-rw-r--r-- | src/mod_configure.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mod_configure.erl b/src/mod_configure.erl index 9d408655..97c94484 100644 --- a/src/mod_configure.erl +++ b/src/mod_configure.erl @@ -35,7 +35,8 @@ get_local_features/5, get_local_items/5, adhoc_local_items/4, adhoc_local_commands/4, get_sm_identity/5, get_sm_features/5, get_sm_items/5, - adhoc_sm_items/4, adhoc_sm_commands/4, mod_opt_type/1]). + adhoc_sm_items/4, adhoc_sm_commands/4, mod_opt_type/1, + depends/2]). -include("ejabberd.hrl"). -include("logger.hrl"). @@ -95,6 +96,9 @@ stop(Host) -> gen_iq_handler:remove_iq_handler(ejabberd_sm, Host, ?NS_COMMANDS). +depends(_Host, _Opts) -> + [{mod_adhoc, hard}, {mod_last, soft}]. + %%%----------------------------------------------------------------------- -define(INFO_IDENTITY(Category, Type, Name, Lang), |