diff options
| author | Salanto <62221668+Salanto@users.noreply.github.com> | 2024-08-02 21:45:47 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-02 14:45:47 -0500 |
| commit | ac673099e0fdadd46453762d811bc3098408ebc5 (patch) | |
| tree | 457050e3df061d47c71480d7b2f0bbeb377c7ed4 /src/packet_distribution.cpp | |
| parent | f0c594aed85021b5ec58fc64aec439ba4a7f88c2 (diff) | |
Send username when connecting (#1031)
Hack af, but the alternative is breaking compatability on the last mile.
Diffstat (limited to 'src/packet_distribution.cpp')
| -rw-r--r-- | src/packet_distribution.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp index 94fd3b69..6509900c 100644 --- a/src/packet_distribution.cpp +++ b/src/packet_distribution.cpp @@ -276,6 +276,9 @@ void AOApplication::server_packet_received(AOPacket packet) } send_server_packet(AOPacket("RD")); + + // TODO : Implement username messaging and requirement server-side properly. + send_server_packet(AOPacket("CT", {Options::getInstance().username(), ""})); log_to_demo = false; } else if (header == "FM") // Fetch music ONLY |
