diff options
-rw-r--r-- | src/login/login.c | 2 | ||||
-rw-r--r-- | src/login/login.h | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c index 8e2ed7f0f..fe5d08835 100644 --- a/src/login/login.c +++ b/src/login/login.c @@ -2042,6 +2042,8 @@ int do_init(int argc, char** argv) void login_defaults(void) { login = &login_s; + login->lc = &login_config; + login->mmo_auth = login_mmo_auth; login->mmo_auth_new = login_mmo_auth_new; login->waiting_disconnect_timer = login_waiting_disconnect_timer; diff --git a/src/login/login.h b/src/login/login.h index 096329d33..1dd402291 100644 --- a/src/login/login.h +++ b/src/login/login.h @@ -139,6 +139,7 @@ struct login_interface { DBMap* auth_db; DBMap* online_db; int fd; + struct Login_Config *lc; int (*mmo_auth) (struct login_session_data* sd, bool isServer); int (*mmo_auth_new) (const char* userid, const char* pass, const char sex, const char* last_ip); |