summaryrefslogtreecommitdiff
path: root/src/login_sql
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-09 01:06:15 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-05-09 01:06:15 +0000
commit200a55d89a46592729cb8f0116b63e0f7b1c68bb (patch)
tree0b6440aac7aa2d322ba628bef088c1e270a8faf8 /src/login_sql
parent5e6b7d4af4c34d9e059afbe38c12e25de728a564 (diff)
downloadhercules-200a55d89a46592729cb8f0116b63e0f7b1c68bb.tar.gz
hercules-200a55d89a46592729cb8f0116b63e0f7b1c68bb.tar.bz2
hercules-200a55d89a46592729cb8f0116b63e0f7b1c68bb.tar.xz
hercules-200a55d89a46592729cb8f0116b63e0f7b1c68bb.zip
Fixing a missed change in r12561 causing incorrect query errors (bugreport:1483).
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12696 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/login_sql')
-rw-r--r--src/login_sql/login.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c
index a5b387a02..cd53f7d4e 100644
--- a/src/login_sql/login.c
+++ b/src/login_sql/login.c
@@ -893,7 +893,7 @@ int parse_fromchar(int fd)
int sec = (short)RFIFOW(fd,16);
RFIFOSKIP(fd,18);
- if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `unban_time` FROM `%s` WHERE `%s` = '%d'", login_db, login_db_account_id, account_id) )
+ if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `ban_until` FROM `%s` WHERE `%s` = '%d'", login_db, login_db_account_id, account_id) )
Sql_ShowDebug(sql_handle);
else if( SQL_SUCCESS == Sql_NextRow(sql_handle) )
{