1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-09-22 19:45:54 -04:00

WIP - Handle /room config commands

This commit is contained in:
James Booth 2014-09-03 00:58:20 +01:00
parent 52a9ab6909
commit d7b3e99a27

View File

@ -1796,7 +1796,15 @@ cmd_room(gchar **args, struct cmd_help_t help)
return TRUE;
}
cons_show("You said %s.", args[1]);
if (g_strcmp0(args[1], "accept") == 0) {
// check that we're in room, we're owner and room requires configuration
} else if (g_strcmp0(args[1], "cancel") == 0) {
// check that we're in room, we're owner and room requires configuration
} else {
cons_show("Usage: %s", help.usage);
}
return TRUE;
}