aboutsummaryrefslogtreecommitdiff
path: root/src/mod_privacy.erl
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-02-17 16:25:41 +0100
committerBadlop <badlop@process-one.net>2021-02-19 17:00:35 +0100
commit69be0abdba00055ddfb14393cbf8a9175675dec8 (patch)
tree39b97197c509d60850d83e2f19637f58fa2e89aa /src/mod_privacy.erl
parentImprove support for rebar3 in "make translations" (diff)
Fix Dialyzer warning about function contract that changed in fad14ff31
Diffstat (limited to 'src/mod_privacy.erl')
-rw-r--r--src/mod_privacy.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_privacy.erl b/src/mod_privacy.erl
index aabed421f..4f15b80c4 100644
--- a/src/mod_privacy.erl
+++ b/src/mod_privacy.erl
@@ -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) ->