25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-28 16:34:13 +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. end.
-spec check_opt_range(atom(), [proplists:property()], -spec check_opt_range(atom(), [proplists:property()],
non_neg_integer() | unlimited | undefined) -> boolean(). non_neg_integer() | unlimited) -> boolean().
check_opt_range(_Opt, _Opts, undefined) ->
true;
check_opt_range(_Opt, _Opts, unlimited) -> check_opt_range(_Opt, _Opts, unlimited) ->
true; true;
check_opt_range(Opt, Opts, Max) -> check_opt_range(Opt, Opts, Max) ->