1
0
mirror of https://github.com/Tha14/toxic.git synced 2024-11-24 16:03:02 +01:00

Remove invalid groupchat commands

These commands only work in audio conferences
This commit is contained in:
jfreegman 2023-10-05 11:20:04 -04:00
parent 85ab7592c9
commit 30d01127e7
No known key found for this signature in database
GPG Key ID: 3627F3144076AE63
2 changed files with 0 additions and 10 deletions

View File

@ -142,10 +142,6 @@ static struct cmd_func groupchat_commands[] = {
{ "/unsilence", cmd_unsilence }, { "/unsilence", cmd_unsilence },
{ "/voice", cmd_set_voice }, { "/voice", cmd_set_voice },
{ "/whois", cmd_whois }, { "/whois", cmd_whois },
#ifdef AUDIO
{ "/mute", cmd_mute },
{ "/sense", cmd_sense },
#endif /* AUDIO */
{ NULL, NULL }, { NULL, NULL },
}; };

View File

@ -117,12 +117,6 @@ static const char *group_cmd_list[] = {
"/voice", "/voice",
"/whisper", "/whisper",
"/whois", "/whois",
#ifdef AUDIO
"/lsdev",
"/sdev",
"/mute",
"/sense",
#endif /* AUDIO */
}; };
GroupChat groupchats[MAX_GROUPCHAT_NUM]; GroupChat groupchats[MAX_GROUPCHAT_NUM];