Fixing a missed change in r12561 causing incorrect query errors (bugreport:1483).

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@12696 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
ultramage 2008-05-09 01:06:15 +00:00
parent 9bfb1ac1be
commit 29b214017b

View File

@ -893,7 +893,7 @@ int parse_fromchar(int fd)
int sec = (short)RFIFOW(fd,16); int sec = (short)RFIFOW(fd,16);
RFIFOSKIP(fd,18); 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); Sql_ShowDebug(sql_handle);
else if( SQL_SUCCESS == Sql_NextRow(sql_handle) ) else if( SQL_SUCCESS == Sql_NextRow(sql_handle) )
{ {