summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:07:36 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-10 06:07:36 +0000
commit77523746c63bc08f261bb68b7aa2492b0ba6546b (patch)
treede2dfbc09d24ad140de55da8ead9730a5df30846
parent22c1a797e182554a1e701f5cc0a21f2a605413fb (diff)
downloadhercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.gz
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.bz2
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.tar.xz
hercules-77523746c63bc08f261bb68b7aa2492b0ba6546b.zip
Update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@530 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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);