summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/char_sql/char.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index c8cc9ef7c..422294e54 100644
--- a/Changelog-Trunk.txt
+++ b/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
diff --git a/src/char_sql/char.c b/src/char_sql/char.c
index f731166ae..3cc82eb42 100644
--- a/src/char_sql/char.c
+++ b/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 )
{