Implemented getting affiliation list, and setting affiliation

This commit is contained in:
James Booth
2014-10-05 01:39:48 +01:00
parent fd5326b40b
commit 2026ab4b6e
8 changed files with 197 additions and 8 deletions

View File

@@ -2159,8 +2159,7 @@ cmd_room(gchar **args, struct cmd_help_t help)
if ((g_strcmp0(affiliation, "owner") != 0) &&
(g_strcmp0(affiliation, "admin") != 0) &&
(g_strcmp0(affiliation, "member") != 0) &&
(g_strcmp0(affiliation, "outcast") != 0) &&
(g_strcmp0(affiliation, "none") != 0)) {
(g_strcmp0(affiliation, "outcast") != 0)) {
cons_show("Usage: %s", help.usage);
return TRUE;
}