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

mod_pubsub: Remove unused check_opt_range/3 clause

This commit is contained in:
Holger Weiss 2021-10-31 21:38:49 +01:00
parent 65a900668c
commit 13cbd7c35d

View File

@ -3568,9 +3568,7 @@ decode_get_pending(#xdata{fields = Fs}, Lang) ->
end.
-spec check_opt_range(atom(), [proplists:property()],
non_neg_integer() | unlimited | undefined) -> boolean().
check_opt_range(_Opt, _Opts, undefined) ->
true;
non_neg_integer() | unlimited) -> boolean().
check_opt_range(_Opt, _Opts, unlimited) ->
true;
check_opt_range(Opt, Opts, Max) ->