24
1
mirror of https://github.com/processone/ejabberd.git synced 2024-06-12 21:52:07 +02:00

Explain better what's the problem with the option clusterid

This commit is contained in:
Badlop 2010-08-04 14:03:33 +02:00
parent 7510a54f81
commit 73705a3b2e

View File

@ -427,7 +427,10 @@ get_clusterid() ->
case ejabberd_config:get_local_option(clusterid) of case ejabberd_config:get_local_option(clusterid) of
ID when is_integer(ID) -> ID when is_integer(ID) ->
ID; ID;
undefined ->
?ERROR_MSG("Please add to your ejabberd.cfg the line: ~n {clusterid, 1}.", []),
1;
Other -> Other ->
?ERROR_MSG("The option {clusterid, INTEGER}. was configured to: ~p", [Other]), ?ERROR_MSG("Change your misconfigured {clusterid, ~p} to the value: ~p", [Other, 1]),
1 1
end. end.