Fix cmdAddStatement
- Fix cmdAddStatement not being in the command table - Fix add statement not correctly setting added statements to green text
This commit is contained in:
parent
853e6e3ff4
commit
78c51cad41
@ -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}},
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user