mirror of
https://github.com/Tha14/toxic.git
synced 2024-12-26 01:53:25 +01:00
Remove invalid groupchat commands
These commands only work in audio conferences
This commit is contained in:
parent
85ab7592c9
commit
30d01127e7
@ -142,10 +142,6 @@ static struct cmd_func groupchat_commands[] = {
|
||||
{ "/unsilence", cmd_unsilence },
|
||||
{ "/voice", cmd_set_voice },
|
||||
{ "/whois", cmd_whois },
|
||||
#ifdef AUDIO
|
||||
{ "/mute", cmd_mute },
|
||||
{ "/sense", cmd_sense },
|
||||
#endif /* AUDIO */
|
||||
{ NULL, NULL },
|
||||
};
|
||||
|
||||
|
@ -117,12 +117,6 @@ static const char *group_cmd_list[] = {
|
||||
"/voice",
|
||||
"/whisper",
|
||||
"/whois",
|
||||
#ifdef AUDIO
|
||||
"/lsdev",
|
||||
"/sdev",
|
||||
"/mute",
|
||||
"/sense",
|
||||
#endif /* AUDIO */
|
||||
};
|
||||
|
||||
GroupChat groupchats[MAX_GROUPCHAT_NUM];
|
||||
|
Loading…
Reference in New Issue
Block a user