From 79d55a4668e7ae703ee551ad9a14109e084f872d Mon Sep 17 00:00:00 2001 From: Kristofer M White Date: Tue, 25 Feb 2014 18:45:45 +0000 Subject: [PATCH] Updating cmd description --- src/command/command.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/command/command.c b/src/command/command.c index d8f55205..d7833433 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -235,9 +235,9 @@ static struct cmd_t command_defs[] = NULL } } }, { "/join", - cmd_join, parse_args_with_freetext, 1, 2, NULL, - { "/join room[@server] [nick]", "Join a chat room.", - { "/join room[@server] [nick]", + cmd_join, parse_args_with_freetext, 1, 3, NULL, + { "/join room[@server] [nick] [password]", "Join a chat room.", + { "/join room[@server] [nick] [password]", "--------------------------", "Join a chat room at the conference server.", "If nick is specified you will join with this nickname.", @@ -247,6 +247,7 @@ static struct cmd_t command_defs[] = "", "Example : /join jdev@conference.jabber.org", "Example : /join jdev@conference.jabber.org mynick", + "Example : /join private@conference.jabber.org mynick mypassword", "Example : /join jdev (as user@jabber.org will join jdev@conference.jabber.org)", NULL } } },