Fix dialyzer warning
The function is call with binary format from ejabberd_c2s.
This commit is contained in:
parent
b0453ea2ce
commit
0770252e9b
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue