25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-19 15:32:08 +02:00

Fix dialyzer: captcha_cmd is a binary for sure

This commit is contained in:
Badlop 2024-09-16 16:49:11 +02:00
parent 2437dc4e06
commit b2e6749fd2

View File

@ -616,8 +616,7 @@ return(Port, TRef, Result) ->
is_feature_available() ->
case get_prog_name() of
Prog when is_binary(Prog) -> true;
MF when is_list(MF) -> true;
PathOrModule when is_binary(PathOrModule) -> true;
false -> false
end.