diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index ad9bbf382..0f2464e3a 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -75,7 +75,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet) net_manager->server_connected(true); - QStringList f_contents = {"AO2", QString::number(get_release()) + QString::number(get_major_version()) + QString::number(get_minor_version())}; + QStringList f_contents = {"AO2", QString("%1.%2.%3").arg(QString::number(get_release()), QString::number(get_major_version()), QString::number(get_minor_version()))}; send_server_packet(new AOPacket("ID", f_contents)); } else if (header == "CT") {