From 30d01127e75730ad39d671895416732287571e8b Mon Sep 17 00:00:00 2001 From: jfreegman Date: Thu, 5 Oct 2023 11:20:04 -0400 Subject: [PATCH] Remove invalid groupchat commands These commands only work in audio conferences --- src/execute.c | 4 ---- src/groupchats.c | 6 ------ 2 files changed, 10 deletions(-) diff --git a/src/execute.c b/src/execute.c index 3a2a003..a38f220 100644 --- a/src/execute.c +++ b/src/execute.c @@ -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 }, }; diff --git a/src/groupchats.c b/src/groupchats.c index 9c2d631..93b8be5 100644 --- a/src/groupchats.c +++ b/src/groupchats.c @@ -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];