mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-22 16:20:52 +01:00
Fix English typos
This commit is contained in:
parent
c09df6cf93
commit
f32b394a96
@ -145,7 +145,7 @@ commands() ->
|
|||||||
|
|
||||||
#ejabberd_commands{name = set_master, tags = [mnesia],
|
#ejabberd_commands{name = set_master, tags = [mnesia],
|
||||||
desc = "Set master node of the clustered Mnesia tables",
|
desc = "Set master node of the clustered Mnesia tables",
|
||||||
longdesc = "If you provie as nodename \"self\", this "
|
longdesc = "If you provide as nodename \"self\", this "
|
||||||
"node will be set as its own master.",
|
"node will be set as its own master.",
|
||||||
module = ?MODULE, function = set_master,
|
module = ?MODULE, function = set_master,
|
||||||
args = [{nodename, string}], result = {res, restuple}},
|
args = [{nodename, string}], result = {res, restuple}},
|
||||||
@ -279,7 +279,7 @@ send_service_message_all_mucs(Subject, AnnouncementText) ->
|
|||||||
register(User, Host, Password) ->
|
register(User, Host, Password) ->
|
||||||
case ejabberd_auth:try_register(User, Host, Password) of
|
case ejabberd_auth:try_register(User, Host, Password) of
|
||||||
{atomic, ok} ->
|
{atomic, ok} ->
|
||||||
{ok, io_lib:format("User ~s@~s succesfully registered", [User, Host])};
|
{ok, io_lib:format("User ~s@~s successfully registered", [User, Host])};
|
||||||
{atomic, exists} ->
|
{atomic, exists} ->
|
||||||
String = io_lib:format("User ~s@~s already registered at node ~p",
|
String = io_lib:format("User ~s@~s already registered at node ~p",
|
||||||
[User, Host, node()]),
|
[User, Host, node()]),
|
||||||
|
Loading…
Reference in New Issue
Block a user