aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCerapter <cerap@protonmail.com>2018-09-20 18:46:21 +0200
committerCerapter <cerap@protonmail.com>2018-09-20 18:46:21 +0200
commit1ea16339e086dc6cf3ade9cc3080b7c9d2b907ee (patch)
treee2518222262b1b4dcc38a9496144ba9905ab2abe
parent1ddfdb34b1e158f4de790b63385b4e9cbebdbefe (diff)
...And the same with the client, too!
-rw-r--r--courtroom.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/courtroom.cpp b/courtroom.cpp
index 0a9baef5..14a2d588 100644
--- a/courtroom.cpp
+++ b/courtroom.cpp
@@ -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);
}