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:
parent
85ab7592c9
commit
30d01127e7
@ -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 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user