aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorperplexedMurfy <perplexedMurfy@gmail.com>2019-01-03 17:37:23 -0500
committeroldmud0 <oldmud0@users.noreply.github.com>2019-01-03 16:51:33 -0600
commit115fc0ff15948af1db277e405c409f493ce3486e (patch)
tree570e5c20380a8fc675db5f742c592664d9fc2e3e
parent4d93f059c01664ad074cf467e79a63b85e86beb0 (diff)
Show ban reason with BD packet
This fully fixes issue 39 with tsuserver3 (https://github.com/AttorneyOnline/tsuserver3/issues/39)
-rw-r--r--src/packet_distribution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/packet_distribution.cpp b/src/packet_distribution.cpp
index 954062e8..68d2fb9b 100644
--- a/src/packet_distribution.cpp
+++ b/src/packet_distribution.cpp
@@ -651,7 +651,7 @@ void AOApplication::server_packet_received(AOPacket *p_packet)
}
else if (header == "BD")
{
- call_notice("You are banned on this server.");
+ call_notice("You are banned on this server.\nReason: " + f_contents.at(0));
}
else if (header == "ZZ")
{