浏览代码

* Fixed a typo in TXT login server logging

git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1220 54d463be-8e91-2dee-dedb-b68131a5f0ec
celest 20 年之前
父节点
当前提交
0f8be62844
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 1 0
      Changelog-SVN.txt
  2. 2 2
      src/login/login.c

+ 1 - 0
Changelog-SVN.txt

@@ -1,6 +1,7 @@
 Date	Added
 
 03/09
+        * Fixed a typo in TXT login server logging, thanks to Skyer / eAthenaC [celest]
         * Added HP and SP rate underflow checking [celest]
         * Added stop auto attacking if no arrows were equipped [celest]
 	* Added new script command: 'cardscnt'. It returns N of inserted cards in the same weapon. [Lupus]

+ 2 - 2
src/login/login.c

@@ -602,8 +602,8 @@ int mmo_auth_init(void) {
 					printf("\033[1;31mmmo_auth_init: ******Error: account name already exists.\n");
 					printf("               account name '%s' -> new account not read.\n", userid); // 2 lines, account name can be long.
 					printf("               Account saved in log file.\033[0m\n");
-					login_log("mmmo_auth_init: ******Error: an account has an identical id to another." RETCODE);
-					login_log("               account id #%d -> new account not read (saved in next line):" RETCODE, account_id);
+					login_log("mmmo_auth_init: ******Error: an account has an identical name to another." RETCODE);
+					login_log("               account name '%s' -> new account not read (saved in next line):" RETCODE, userid);
 					login_log("%s", line);
 					break;
 				}