diff options
author | Christophe Romain <christophe.romain@process-one.net> | 2019-01-31 18:05:39 +0100 |
---|---|---|
committer | Christophe Romain <christophe.romain@process-one.net> | 2019-01-31 18:05:39 +0100 |
commit | 9577fe3ba8b00797816cc1243a8e22ed59096d86 (patch) | |
tree | 25deecb1fa3b89bce0d7f166375c9590a7021364 /src | |
parent | Do not overwrite odbc config file (#2295) (diff) |
Fix argument name consistency
Diffstat (limited to 'src')
-rw-r--r-- | src/mod_muc_admin.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_muc_admin.erl b/src/mod_muc_admin.erl index 6a125d848..616d54d28 100644 --- a/src/mod_muc_admin.erl +++ b/src/mod_muc_admin.erl @@ -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], |