summaryrefslogtreecommitdiff
path: root/src/char_sql/char.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/char_sql/char.c')
-rw-r--r--src/char_sql/char.c2
1 files changed, 1 insertions, 1 deletions
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 )
{