25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

Fix EDoc comment

SVN Revision: 2814
This commit is contained in:
Badlop 2009-12-21 14:35:09 +00:00
parent 3df45683ff
commit 15abddb7a8

View File

@ -427,8 +427,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}] ->