From 8d77d2d60af57862d731814b23a81ec868668043 Mon Sep 17 00:00:00 2001 From: "(no author)" <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> Date: Fri, 5 Nov 2004 00:00:30 +0000 Subject: git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@8 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/login_sql/login.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 50465eb3c..4bf197cc2 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -597,7 +597,9 @@ int parse_fromchar(int fd){ if (server_fd[id] == fd) break; - if (id == MAX_SERVERS || session[fd]->eof) { + if (id == MAX_SERVERS) + session[fd]->eof = 1; + if(session[fd]->eof) { if (id < MAX_SERVERS) { printf("Char-server '%s' has disconnected.\n", server[id].name); server_fd[id] = -1; -- cgit v1.2.3-70-g09d2