25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-22 16:20:52 +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()], -spec check_packet_aux([listitem()],
message | iq | presence_in | presence_out | other, message | iq | presence_in | presence_out | other,
ljid(), none | {none | both | from | to, [binary()]}) -> ljid(), [binary()] | {none | both | from | to, [binary()]}) ->
allow | deny. allow | deny.
%% Ptype = message | iq | presence_in | presence_out | other %% Ptype = message | iq | presence_in | presence_out | other
check_packet_aux([], _PType, _JID, _RosterInfo) -> check_packet_aux([], _PType, _JID, _RosterInfo) ->