summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/login.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 95a55f5fe..639b61afb 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -204,6 +204,7 @@ static void* create_online_user(DBKey key, va_list args) {
p = aCalloc(1, sizeof(struct online_login_data));
p->account_id = key.i;
p->char_server = -1;
+ p->waiting_disconnect = -1;
return p;
}
static int waiting_disconnect_timer(int tid, unsigned int tick, int id, int data);