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],