diff --git a/include/aoclient.h b/include/aoclient.h index d64c774..6626972 100644 --- a/include/aoclient.h +++ b/include/aoclient.h @@ -1760,6 +1760,7 @@ class AOClient : public QObject { {"pause", {ACLFlags.value("CM"), 0, &AOClient::cmdPauseTestimony}}, {"delete", {ACLFlags.value("CM"), 0, &AOClient::cmdDeleteStatement}}, {"update", {ACLFlags.value("CM"), 0, &AOClient::cmdUpdateStatement}}, + {"add", {ACLFlags.value("CM"), 0, &AOClient::cmdAddStatement}}, {"reload", {ACLFlags.value("SUPER"), 0, &AOClient::cmdReload}}, {"disemvowel", {ACLFlags.value("MUTE"), 1, &AOClient::cmdDisemvowel}}, {"undisemvowel", {ACLFlags.value("MUTE"), 1, &AOClient::cmdUnDisemvowel}}, diff --git a/src/testimony_recorder.cpp b/src/testimony_recorder.cpp index 3c6897d..01178b5 100644 --- a/src/testimony_recorder.cpp +++ b/src/testimony_recorder.cpp @@ -39,6 +39,7 @@ void AOClient::addStatement(QStringList packet) } } else if (area->test_rec == AreaData::TestimonyRecording::ADD) { + packet[14] = "1"; area->testimony.insert(c_statement,packet); area->test_rec = AreaData::TestimonyRecording::PLAYBACK; }