diff options
Diffstat (limited to 'src/mod_time.erl')
-rw-r--r-- | src/mod_time.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/mod_time.erl b/src/mod_time.erl index 740b654a7..90296f3d8 100644 --- a/src/mod_time.erl +++ b/src/mod_time.erl @@ -33,7 +33,7 @@ -behaviour(gen_mod). -export([start/2, stop/1, process_local_iq/3, - mod_opt_type/1]). + mod_opt_type/1, depends/2]). -include("ejabberd.hrl"). -include("logger.hrl"). @@ -86,5 +86,8 @@ process_local_iq(_From, _To, sign(N) when N < 0 -> <<"-">>; sign(_) -> <<"+">>. +depends(_Host, _Opts) -> + []. + mod_opt_type(iqdisc) -> fun gen_iq_handler:check_type/1; mod_opt_type(_) -> [iqdisc]. |