summaryrefslogtreecommitdiff
path: root/src/admin
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-06-23 20:40:46 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-06-23 21:07:32 -0700
commitda6769f929be02a0b3b4d6c52b79922104cdd053 (patch)
tree37536156be568931d6751d65544d55ceb7c9464e /src/admin
parent1c1752f40aac20bf9a5e56817951a013c2219bed (diff)
downloadtmwa-da6769f929be02a0b3b4d6c52b79922104cdd053.tar.gz
tmwa-da6769f929be02a0b3b4d6c52b79922104cdd053.tar.bz2
tmwa-da6769f929be02a0b3b4d6c52b79922104cdd053.tar.xz
tmwa-da6769f929be02a0b3b4d6c52b79922104cdd053.zip
Use the generated char server protocol in the map server
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/ladmin.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp
index 7b702ed..ba55d73 100644
--- a/src/admin/ladmin.cpp
+++ b/src/admin/ladmin.cpp
@@ -2815,6 +2815,12 @@ void parse_fromlogin(Session *s)
}
}
+ if (rv == RecvResult::Error)
+ {
+ s->set_eof();
+ return;
+ }
+
// The following was almost certainly wrong and only worked because
// localhost is a fast enough network to never split byte 1 vs byte 2