diff options
Diffstat (limited to '')
-rw-r--r-- | src/mod_stats.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mod_stats.erl b/src/mod_stats.erl index 4896a3c1..ce97dbdf 100644 --- a/src/mod_stats.erl +++ b/src/mod_stats.erl @@ -31,7 +31,8 @@ -behaviour(gen_mod). --export([start/2, stop/1, process_local_iq/3]). +-export([start/2, stop/1, process_local_iq/3, + mod_opt_type/1]). -include("ejabberd.hrl"). -include("logger.hrl"). @@ -265,3 +266,6 @@ search_running_node(SNode, [Node | Nodes]) -> SNode -> Node; _ -> search_running_node(SNode, Nodes) end. + +mod_opt_type(iqdisc) -> fun gen_iq_handler:check_type/1; +mod_opt_type(_) -> [iqdisc]. |