24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-14 22:00:16 +02:00

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

View File

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