Issue information

Issue ID
#1483
Status
Fixed
Severity
None
Started
Hercules Elf Bot
May 9, 2008 6:46
Last Post
Hercules Elf Bot
May 9, 2008 6:46
Confirmation
N/A

Hercules Elf Bot - May 9, 2008 6:46

Originally posted by [b]h4rry84[/b]
http://www.eathena.ws/board/index.php?autocom=bugtracker&showbug=1483

in login_sql/login.c line 897
CODE
if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `unban_time` FROM `%s` WHERE `%s` = '%d'", login_db, login_db_account_id, account_id) )

it should be
CODE
if( SQL_ERROR == Sql_Query(sql_handle, "SELECT `ban_until` FROM `%s` WHERE `%s` = '%d'", login_db, login_db_account_id, account_id) )