Fix dialyzer warning

The function is call with binary format from ejabberd_c2s.
This commit is contained in:
Mickael Remond 2015-07-05 13:33:34 +02:00
parent b0453ea2ce
commit 0770252e9b
1 changed files with 2 additions and 1 deletions

View File

@ -1152,7 +1152,8 @@ opt_type(language) ->
opt_type(_) ->
[hosts, language].
-spec may_hide_data(string()) -> string().
-spec may_hide_data(string()) -> string();
(binary()) -> binary().
may_hide_data(Data) ->
case ejabberd_config:get_option(