From bb9f27f3fa24c9fab756d60ad961b866ad1c7d35 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 8 Jul 2013 18:08:39 -0300 Subject: Fixed compiling errors when CONSOLE_PARSE was disabled Special Thanks to quesoph for bringing this to our attention. Signed-off-by: shennetsind --- src/login/account_sql.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/login/account_sql.c') diff --git a/src/login/account_sql.c b/src/login/account_sql.c index 53785f39f..218248c82 100644 --- a/src/login/account_sql.c +++ b/src/login/account_sql.c @@ -690,5 +690,7 @@ static bool mmo_auth_tosql(AccountDB_SQL* db, const struct mmo_account* acc, boo void account_db_sql_up(AccountDB* self) { AccountDB_SQL* db = (AccountDB_SQL*)self; Sql_HerculesUpdateCheck(db->accounts); +#ifdef CONSOLE_INPUT console->setSQL(db->accounts); +#endif } -- cgit v1.2.3-60-g2f50