mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-26 16:26:24 +01:00
Fix dialyzer: captcha_cmd is a binary for sure
This commit is contained in:
parent
2437dc4e06
commit
b2e6749fd2
@ -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.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user