Fix Dialyzer warning about function contract that changed in fad14ff31

This commit is contained in:
Badlop 2021-02-17 16:25:41 +01:00
parent 09f5e2aa03
commit 69be0abdba
1 changed files with 1 additions and 1 deletions

View File

@ -612,7 +612,7 @@ do_check_packet(#jid{luser = LUser, lserver = LServer}, List, Packet, Dir) ->
-spec check_packet_aux([listitem()],
message | iq | presence_in | presence_out | other,
ljid(), none | {none | both | from | to, [binary()]}) ->
ljid(), [binary()] | {none | both | from | to, [binary()]}) ->
allow | deny.
%% Ptype = message | iq | presence_in | presence_out | other
check_packet_aux([], _PType, _JID, _RosterInfo) ->