Fix argument name consistency

This commit is contained in:
Christophe Romain 2019-01-31 18:05:39 +01:00
parent ae7b391657
commit 9577fe3ba8
1 changed files with 2 additions and 2 deletions

View File

@ -116,14 +116,14 @@ get_commands_spec() ->
module = ?MODULE, function = muc_register_nick,
args_desc = ["Nick", "User JID", "Server Host"],
args_example = [<<"Tim">>, <<"tim@example.org">>, <<"example.org">>],
args = [{nick, binary}, {jid, binary}, {serverhost, binary}],
args = [{nick, binary}, {jid, binary}, {host, binary}],
result = {res, rescode}},
#ejabberd_commands{name = muc_unregister_nick, tags = [muc],
desc = "Unregister the nick registered by that account in the MUC service",
module = ?MODULE, function = muc_unregister_nick,
args_desc = ["User JID", "MUC service"],
args_example = [<<"tim@example.org">>, <<"example.org">>],
args = [{jid, binary}, {serverhost, binary}],
args = [{jid, binary}, {host, binary}],
result = {res, rescode}},
#ejabberd_commands{name = create_room, tags = [muc_room],