Tell Dialyzer to not report this warning, as it requires an ejabberd patch
This commit is contained in:
parent
12e31364f6
commit
5b1402f033
|
@ -15,6 +15,8 @@
|
||||||
-include("logger.hrl").
|
-include("logger.hrl").
|
||||||
-include_lib("xmpp/include/xmpp.hrl").
|
-include_lib("xmpp/include/xmpp.hrl").
|
||||||
|
|
||||||
|
-dialyzer({no_match, [check_stanza_type/2, check_access/1]}).
|
||||||
|
|
||||||
start(_Host, _Opts) ->
|
start(_Host, _Opts) ->
|
||||||
ejabberd_hooks:add(filter_packet, global, ?MODULE, filter_packet, 100).
|
ejabberd_hooks:add(filter_packet, global, ?MODULE, filter_packet, 100).
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue