Removed command character backup

Changed all remaining references from the character_ table to the character_data
This commit is contained in:
Akkadius committed 2014-09-06 22:35:19 -05:00
1 parent e50cf5c4be
commit 4c12d31e4a
12 files changed
+26 -189

No files matched your search

+1 -1
View File
@@ -1705,7 +1705,7 @@ bool ZoneDatabase::NoRentExpired(const char* name){
char *query = 0;
MYSQL_RES *result;
MYSQL_ROW row;
if (RunQuery(query, MakeAnyLenString(&query, "Select (UNIX_TIMESTAMP(NOW())-timelaston) from character_ where name='%s'", name), errbuf, &result)) {
if (RunQuery(query, MakeAnyLenString(&query, "Select (UNIX_TIMESTAMP(NOW()) - last_login) from `character_data` where name='%s'", name), errbuf, &result)) {
safe_delete_array(query);
if (mysql_num_rows(result) == 1) {
row = mysql_fetch_row(result);