From bed43cf34883d5bf2681c50948e0ddf153846fbb Mon Sep 17 00:00:00 2001 From: David Athay Date: Fri, 21 Nov 2008 09:32:54 +0000 Subject: Added bandwidth monitor to account server. Fixes compile errors. --- src/account-server/dalstorage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/account-server/dalstorage.cpp') diff --git a/src/account-server/dalstorage.cpp b/src/account-server/dalstorage.cpp index eca3132..06a1c83 100644 --- a/src/account-server/dalstorage.cpp +++ b/src/account-server/dalstorage.cpp @@ -1302,7 +1302,7 @@ void DALStorage::checkBannedAccounts() // update expired bans std::ostringstream sql; sql << "update " << ACCOUNTS_TBL_NAME - << " set level = " << AL_NORMAL << ", banned = 0" + << " set level = " << AL_PLAYER << ", banned = 0" << " where level = " << AL_BANNED << " AND banned <= " << time(NULL) << ";"; mDb->execSql(sql.str()); -- cgit