mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +01:00
Restore original return value to ejabberd_config:add_option
This commit is contained in:
parent
1b26c8d214
commit
c47366ba97
@ -782,7 +782,8 @@ add_local_option(Opt, Val) ->
|
|||||||
add_option(Opt, Val) when is_atom(Opt) ->
|
add_option(Opt, Val) when is_atom(Opt) ->
|
||||||
add_option({Opt, global}, Val);
|
add_option({Opt, global}, Val);
|
||||||
add_option({Opt, Host}, Val) ->
|
add_option({Opt, Host}, Val) ->
|
||||||
ets:insert(ejabberd_options, {{Opt, Host}, Val}).
|
ets:insert(ejabberd_options, {{Opt, Host}, Val}),
|
||||||
|
ok.
|
||||||
|
|
||||||
-spec prepare_opt_val(any(), any(), check_fun(), any()) -> any().
|
-spec prepare_opt_val(any(), any(), check_fun(), any()) -> any().
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user