diff options
author | shennetsind <ind@henn.et> | 2013-07-08 18:08:39 -0300 |
---|---|---|
committer | shennetsind <ind@henn.et> | 2013-07-08 18:08:39 -0300 |
commit | bb9f27f3fa24c9fab756d60ad961b866ad1c7d35 (patch) | |
tree | 97db1c02f00031e7047ec535b041cb9f7626d499 /src/login | |
parent | 8f7418ffaffb763e435b29eee5707c66d5615e73 (diff) | |
download | hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.gz hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.bz2 hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.tar.xz hercules-bb9f27f3fa24c9fab756d60ad961b866ad1c7d35.zip |
Fixed compiling errors when CONSOLE_PARSE was disabled
Special Thanks to quesoph for bringing this to our attention.
Signed-off-by: shennetsind <ind@henn.et>
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/account_sql.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 } |