25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-30 16:36:29 +01:00

Fix EDoc comment

SVN Revision: 2813
This commit is contained in:
Badlop 2009-12-21 14:31:10 +00:00
parent eb26edf5f5
commit 848e72bcab

View File

@ -446,8 +446,7 @@ is_group_enabled(Host, Group) ->
false false
end. end.
%% @spec (Host::string(), Group::string(), Opt::atom(), Default::any()) %% @spec (Host::string(), Group::string(), Opt::atom(), Default) -> OptValue | Default
%% -> OptValue::any() | Default::any()
get_group_opt(Host, Group, Opt, Default) -> get_group_opt(Host, Group, Opt, Default) ->
case catch mnesia:dirty_read(sr_group, {Group, Host}) of case catch mnesia:dirty_read(sr_group, {Group, Host}) of
[#sr_group{opts = Opts}] -> [#sr_group{opts = Opts}] ->