From 8f7418ffaffb763e435b29eee5707c66d5615e73 Mon Sep 17 00:00:00 2001 From: shennetsind Date: Mon, 8 Jul 2013 15:34:41 -0300 Subject: Cygwin Fix for the Hercules SQL Update Check Also modified the output (i think its sightly improved), also added a console command to skip updates so no need to go add the query yourself 'sql update skip ' Signed-off-by: shennetsind --- src/login/account_sql.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/login') diff --git a/src/login/account_sql.c b/src/login/account_sql.c index 14dd8ad9d..53785f39f 100644 --- a/src/login/account_sql.c +++ b/src/login/account_sql.c @@ -8,6 +8,7 @@ #include "../common/sql.h" #include "../common/strlib.h" #include "../common/timer.h" +#include "../common/console.h" #include "account.h" #include #include @@ -689,4 +690,5 @@ 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); + console->setSQL(db->accounts); } -- cgit v1.2.3-60-g2f50