summaryrefslogtreecommitdiff
path: root/src/login
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/login
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/login')
-rw-r--r--src/login/login.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/login/login.cpp b/src/login/login.cpp
index 6edaeef..7537927 100644
--- a/src/login/login.cpp
+++ b/src/login/login.cpp
@@ -3245,7 +3245,8 @@ void parse_login(Session *s)
}
}
}
- return;
+ if (rv == RecvResult::Error)
+ s->set_eof();
}
//----------------------------------