From e1f5cfb928ee7b034eb0044b1ef83d606ede0258 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 20 Oct 2014 20:58:49 +0100 Subject: [PATCH] Removed 0.4.5 todo --- TODO_045 | 3 --- src/command/command.c | 10 ++++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/TODO_045 b/TODO_045 index 011e7164..e69de29b 100644 --- a/TODO_045 +++ b/TODO_045 @@ -1,3 +0,0 @@ -Test all freetext args -Make form editing commands less verbose -Check /help groupings (add new commands) diff --git a/src/command/command.c b/src/command/command.c index 5726b49f..0fba4ee8 100644 --- a/src/command/command.c +++ b/src/command/command.c @@ -359,6 +359,16 @@ static struct cmd_t command_defs[] = "The affiliation may be one of owner, admin, member, outcast or none.", NULL } } }, + { "/affiliations", + cmd_affiliation, parse_args, 0, 0, NULL, + { "/affiliation set|list [affiliation] [jid] [reason]", "Manage room affiliations.", + { "/affiliation set|list [affiliation] [jid] [reason]", + "--------------------------------------------------", + "set affiliation jid [reason]- Set the affiliation of user with jid, with an optional reason.", + "list [affiliation] - List all users with the specified affiliation, or all if none specified.", + "The affiliation may be one of owner, admin, member, outcast or none.", + NULL } } }, + { "/role", cmd_role, parse_args_with_freetext, 1, 4, NULL, { "/role set|list [role] [nick] [reason]", "Manage room roles.",