aboutsummaryrefslogtreecommitdiff
path: root/src/packet_distribution.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/packet_distribution.cpp')
-rw-r--r--src/packet_distribution.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp
index bcbc6671..37f58c8b 100644
--- a/src/packet_distribution.cpp
+++ b/src/packet_distribution.cpp
@@ -67,9 +67,6 @@ void AOApplication::ms_packet_received(AOPacket *p_packet)
}
}
else if (header == "AO2CHECK") {
- send_ms_packet(new AOPacket("ID#AO2#" + get_version_string() + "#%"));
- send_ms_packet(new AOPacket("HI#" + get_hdid() + "#%"));
-
if (f_contents.size() < 1)
goto end;
@@ -718,21 +715,6 @@ end:
delete p_packet;
}
-void AOApplication::send_ms_packet(AOPacket *p_packet)
-{
- p_packet->net_encode();
-
- QString f_packet = p_packet->to_string();
-
- net_manager->ship_ms_packet(f_packet);
-
-#ifdef DEBUG_NETWORK
- qDebug() << "S(ms):" << f_packet;
-#endif
-
- delete p_packet;
-}
-
void AOApplication::send_server_packet(AOPacket *p_packet, bool encoded)
{
if (encoded)