summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-07-08 15:34:41 -0300
committershennetsind <ind@henn.et>2013-07-08 15:34:41 -0300
commit8f7418ffaffb763e435b29eee5707c66d5615e73 (patch)
treeea4b44356fd036f4cce16738547684a70fc2dd6f /src/login
parent4f69a9ea0f80e78da61482b2d1143a6e58859fd1 (diff)
downloadhercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.gz
hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.bz2
hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.tar.xz
hercules-8f7418ffaffb763e435b29eee5707c66d5615e73.zip
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 <file name>' Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login')
-rw-r--r--src/login/account_sql.c2
1 files changed, 2 insertions, 0 deletions
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 <stdlib.h>
#include <string.h>
@@ -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);
}