diff --git a/mod_filter/src/mod_filter.erl b/mod_filter/src/mod_filter.erl index f6c72e0..753ed6b 100644 --- a/mod_filter/src/mod_filter.erl +++ b/mod_filter/src/mod_filter.erl @@ -15,6 +15,8 @@ -include("logger.hrl"). -include_lib("xmpp/include/xmpp.hrl"). +-dialyzer({no_match, [check_stanza_type/2, check_access/1]}). + start(_Host, _Opts) -> ejabberd_hooks:add(filter_packet, global, ?MODULE, filter_packet, 100).