summaryrefslogtreecommitdiff
path: root/src/login/account_sql.c
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-02-14 17:04:42 -0200
committershennetsind <ind@henn.et>2013-02-14 17:15:36 -0200
commit810ba40b78087cc6aa7eb9ad3a3e46534393b9e8 (patch)
treee205d88bc02194101fc2a7aa2d80e5d884fe8a9c /src/login/account_sql.c
parent20abc4a94a4bd3a7428c042cc6d1c313272fbc28 (diff)
downloadhercules-810ba40b78087cc6aa7eb9ad3a3e46534393b9e8.tar.gz
hercules-810ba40b78087cc6aa7eb9ad3a3e46534393b9e8.tar.bz2
hercules-810ba40b78087cc6aa7eb9ad3a3e46534393b9e8.tar.xz
hercules-810ba40b78087cc6aa7eb9ad3a3e46534393b9e8.zip
Introducing MySQL DB Update Checker
First version. Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login/account_sql.c')
-rw-r--r--src/login/account_sql.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/login/account_sql.c b/src/login/account_sql.c
index 5073941e2..ae80163af 100644
--- a/src/login/account_sql.c
+++ b/src/login/account_sql.c
@@ -678,3 +678,7 @@ static bool mmo_auth_tosql(AccountDB_SQL* db, const struct mmo_account* acc, boo
return result;
}
+void account_db_sql_up(AccountDB* self) {
+ AccountDB_SQL* db = (AccountDB_SQL*)self;
+ Sql_HerculesUpdateCheck(db->accounts);
+} \ No newline at end of file