diff options
Diffstat (limited to 'src/command/command.c')
-rw-r--r-- | src/command/command.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/command/command.c b/src/command/command.c index 9abc4cf3..e382c03c 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -274,6 +274,16 @@ static struct cmd_t command_defs[] = "Example : /status jon", NULL } } }, + { "/resource", + cmd_resource, parse_args, 1, 2, NULL, + { "/resource set|off [resource]", "Set the contact's resource.", + { "/resource set|off [resource]", + "----------------------------", + "Set the resource to use when chatting to a contact.", + "set resource - Set the resource.", + "off - Let the server choose which resource to route messages to.", + NULL } } }, + { "/join", cmd_join, parse_args, 1, 5, NULL, { "/join room[@server] [nick value] [password value]", "Join a chat room.", |