瀏覽代碼

Update

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@530 54d463be-8e91-2dee-dedb-b68131a5f0ec
amber 20 年之前
父節點
當前提交
ca70f411c7
共有 2 個文件被更改,包括 4 次插入1 次删除
  1. 2 0
      Changelog.txt
  2. 2 1
      src/map/clif.c

+ 2 - 0
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

+ 2 - 1
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);