1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-12-08 01:16:35 +01:00

add ability for founder to set group peer limit

This commit is contained in:
Jfreegman
2015-05-24 03:27:50 -04:00
parent 29d0384a90
commit a6d7e9b839
5 changed files with 59 additions and 13 deletions

View File

@@ -85,18 +85,19 @@ static struct cmd_func chat_commands[] = {
};
static struct cmd_func group_commands[] = {
{ "/chatid", cmd_chatid },
{ "/ignore", cmd_ignore },
{ "/passwd", cmd_set_passwd },
{ "/privacy", cmd_set_privacy },
{ "/rejoin", cmd_rejoin },
{ "/topic", cmd_set_topic },
{ "/unignore", cmd_unignore },
{ "/chatid", cmd_chatid },
{ "/ignore", cmd_ignore },
{ "/passwd", cmd_set_passwd },
{ "/peerlimit", cmd_set_peerlimit },
{ "/privacy", cmd_set_privacy },
{ "/rejoin", cmd_rejoin },
{ "/topic", cmd_set_topic },
{ "/unignore", cmd_unignore },
#ifdef AUDIO
{ "/mute", cmd_mute },
{ "/sense", cmd_sense },
{ "/mute", cmd_mute },
{ "/sense", cmd_sense },
#endif /* AUDIO */
{ NULL, NULL },
{ NULL, NULL },
};
#define NUM_SPECIAL_COMMANDS 8