From da6769f929be02a0b3b4d6c52b79922104cdd053 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Mon, 23 Jun 2014 20:40:46 -0700 Subject: Use the generated char server protocol in the map server --- src/admin/ladmin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/admin') 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 -- cgit v1.2.3-60-g2f50