mirror of
https://github.com/processone/ejabberd.git
synced 2025-01-03 18:02:28 +01:00
Fix argument name consistency
This commit is contained in:
parent
ae7b391657
commit
9577fe3ba8
@ -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],
|
||||
|
Loading…
Reference in New Issue
Block a user