summaryrefslogtreecommitdiff
path: root/src/net/eathena/loginrecv.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-03-11 19:23:44 +0000
committerFedja Beader <fedja@protonmail.ch>2024-03-11 19:23:44 +0000
commit7dc00dfc9ed1b5feb1e3200ac20059592bd1bec4 (patch)
treebdfac680d1d55faa081ba5044266a42d1701127d /src/net/eathena/loginrecv.cpp
parentaf3eb6ba1c1c5a4a26592d53c614013225efd2d6 (diff)
downloadplus-7dc00dfc9ed1b5feb1e3200ac20059592bd1bec4.tar.gz
plus-7dc00dfc9ed1b5feb1e3200ac20059592bd1bec4.tar.bz2
plus-7dc00dfc9ed1b5feb1e3200ac20059592bd1bec4.tar.xz
plus-7dc00dfc9ed1b5feb1e3200ac20059592bd1bec4.zip
Remove last-login(time) from char select window.
No server in use still sends that field. **** Approved-by: Jesusalva Jesusalva <jesusalva@themanaworld.org>
Diffstat (limited to 'src/net/eathena/loginrecv.cpp')
-rw-r--r--src/net/eathena/loginrecv.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/eathena/loginrecv.cpp b/src/net/eathena/loginrecv.cpp
index 41af09fa8..c387bd0c0 100644
--- a/src/net/eathena/loginrecv.cpp
+++ b/src/net/eathena/loginrecv.cpp
@@ -264,8 +264,10 @@ void LoginRecv::processLoginData(Net::MessageIn &msg)
Ea::LoginRecv::mToken.session_ID1 = msg.readInt32("session id1");
Ea::LoginRecv::mToken.account_ID = msg.readBeingId("accound id");
Ea::LoginRecv::mToken.session_ID2 = msg.readInt32("session id2");
+ // old IP and last login(time) fields have been removed from both TMWA
+ // and hercules over a decade ago.
msg.readInt32("old ip");
- loginData.lastLogin = msg.readString(24, "last login");
+ msg.readString(24, "last login");
msg.readInt16("unused");
// reserve bits for future usage