summaryrefslogtreecommitdiff
path: root/src/login/login.h
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-12-30 13:18:55 -0200
committershennetsind <ind@henn.et>2013-12-30 13:18:55 -0200
commite153b614bd6c3cfb85528ce847fdcb353fe31020 (patch)
treed2df4d0c6c05f4db7ba4fb04672ed712583af16d /src/login/login.h
parent0a7c002990ba08a39156b966cbd8e8e7ad3a4ce4 (diff)
downloadhercules-e153b614bd6c3cfb85528ce847fdcb353fe31020.tar.gz
hercules-e153b614bd6c3cfb85528ce847fdcb353fe31020.tar.bz2
hercules-e153b614bd6c3cfb85528ce847fdcb353fe31020.tar.xz
hercules-e153b614bd6c3cfb85528ce847fdcb353fe31020.zip
Fixed account expiration time
Login server no longer insta-denies expired accounts, as there may be free to play (or non paying) char server modes in the list, also made sure type 3 is sent as normal mode to non-expired accounts (client has a hardcoded if type == 3 => "claim need to pay & deny message" Special Thanks to Beret. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login/login.h')
-rw-r--r--src/login/login.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/login/login.h b/src/login/login.h
index 494912698..80cbee74b 100644
--- a/src/login/login.h
+++ b/src/login/login.h
@@ -42,6 +42,8 @@ struct login_session_data {
int has_client_hash;
int fd;
+
+ time_t expiration_time;
};
struct mmo_char_server {