From 9577fe3ba8b00797816cc1243a8e22ed59096d86 Mon Sep 17 00:00:00 2001 From: Christophe Romain Date: Thu, 31 Jan 2019 18:05:39 +0100 Subject: [PATCH] Fix argument name consistency --- src/mod_muc_admin.erl | 4 ++-- 1 file 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],