summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt2
-rw-r--r--src/map/clif.c3
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 5baee572d..869344cfa 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
12/9
+ * Fixed how players are cleaned up when they disconnected
+ during authentication [MouseJstr]
* Adjusted some messages in @marry [MouseJstr]
* Skill Updates [celest]
- Fixed Auto Spell not working
diff --git a/src/map/clif.c b/src/map/clif.c
index 3143355ca..de64d07b0 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -10111,7 +10111,8 @@ static int clif_parse(int fd) {
printf("Player with account [%d] has logged off your server.\n", sd->bl.id); // Player logout display [Yor]
} else if (sd) { // not authentified! (refused by char-server or disconnect before to be authentified)
printf("Player with account [%d] has logged off your server (not auth account).\n", sd->bl.id); // Player logout display [Yor]
- map_deliddb(&sd->bl); // account_id has been included in the DB before auth answer
+ if (chrif_isconnect())
+ clif_quitsave(fd, sd);
sd = 0;
}
close(fd);