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_http_api.erl | |
parent | de9f80f2cea4fe3fe3fd29155f9f78b8a8c678bd (diff) |
Make modules loading in a dependent order (#1191)
Diffstat (limited to 'src/mod_http_api.erl')
-rw-r--r-- | src/mod_http_api.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mod_http_api.erl b/src/mod_http_api.erl index 595c121cd..815ed3ab6 100644 --- a/src/mod_http_api.erl +++ b/src/mod_http_api.erl @@ -74,7 +74,7 @@ -behaviour(gen_mod). --export([start/2, stop/1, process/2, mod_opt_type/1]). +-export([start/2, stop/1, process/2, mod_opt_type/1, depends/2]). -include("ejabberd.hrl"). -include("jlib.hrl"). @@ -123,6 +123,9 @@ start(_Host, _Opts) -> stop(_Host) -> ok. +depends(_Host, _Opts) -> + []. + %% ---------- %% basic auth %% ---------- |