Ver código fonte

Fixed a typo in char_sql/char.c

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12591 54d463be-8e91-2dee-dedb-b68131a5f0ec
toms 17 anos atrás
pai
commit
92f9bf6a8c
2 arquivos alterados com 2 adições e 1 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 1 1
      src/char_sql/char.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK.  ALL UNTESTED BUGFIXES/FEATURES GO
 IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
 
 2008/04/14
+	* Fixed a typo in char_sql/char.c [Toms]
 	* Fixed a bug in the disconnection part char-server (not sending you offline) [Toms]
 	* Changes to the configure script: [FlavioJS]
 	- added options --with-MYSQL_CFLAGS and --with-MYSQL_LIBS to allow manual setting of those variables

+ 1 - 1
src/char_sql/char.c

@@ -392,7 +392,7 @@ void read_gm_account(void)
 	GM_num = 0;
 
 	if( SQL_ERROR == Sql_Query(lsql_handle, "SELECT `%s`,`%s` FROM `%s` WHERE `%s`>='%d'", login_db_account_id, login_db_level, login_db, login_db_level, lowest_gm_level) )
-		Sql_ShowDebug(sql_handle);
+		Sql_ShowDebug(lsql_handle);
 
 	if( Sql_NumRows(lsql_handle) > 0 )
 	{