25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-12-22 17:28:25 +01:00

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

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) ->