summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index 93a7563d2..bc934216a 100644
--- a/src/char_sql/char.c
+++ b/src/char_sql/char.c
@@ -1904,10 +1904,11 @@ int parse_fromlogin(int fd)
WFIFOSET(i,3);
set_eof(i);
}
- else //Shouldn't happen, but just in case.
+ else // still moving to the map-server
set_char_offline(-1, aid);
}
}
+ idb_remove(auth_db, aid);// reject auth attempts from map-server
}
break;