...And the same with the client, too!

This commit is contained in:
Cerapter 2018-09-20 18:46:21 +02:00
parent 1ddfdb34b1
commit 1ea16339e0

View File

@ -3059,7 +3059,7 @@ void Courtroom::on_music_list_double_clicked(QModelIndex p_model)
QString p_song = music_list.at(music_row_to_number.at(p_model.row()));
if (!ui_ic_chat_name->text().isEmpty())
if (!ui_ic_chat_name->text().isEmpty() && ao_app->cccc_ic_support_enabled)
{
ao_app->send_server_packet(new AOPacket("MC#" + p_song + "#" + QString::number(m_cid) + "#" + ui_ic_chat_name->text() + "#%"), false);
}