mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
WIP - Handle /room config commands
This commit is contained in:
parent
52a9ab6909
commit
d7b3e99a27
@ -1796,7 +1796,15 @@ cmd_room(gchar **args, struct cmd_help_t help)
|
|||||||
return TRUE;
|
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;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user