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:
parent
09f5e2aa03
commit
69be0abdba
@ -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) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user