From 70d580c479c5310c0f7a7efd1a3e7f324cfb99f9 Mon Sep 17 00:00:00 2001 From: David Athay Date: Thu, 28 Aug 2008 14:46:37 +0000 Subject: Added checking for expired bans. --- src/account-server/dalstorage.hpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/account-server/dalstorage.hpp') diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp index 607b8187..87fd855f 100644 --- a/src/account-server/dalstorage.hpp +++ b/src/account-server/dalstorage.hpp @@ -125,6 +125,18 @@ class DALStorage */ void banCharacter(int id, int duration); + /** + * Removes a ban on an account (hence on all its characters). + * + * @param accountID account identifier. + */ + void removeBan(int accountID); + + /** + * Removes expired bans from accounts + */ + void checkBannedAccounts(); + /** * Tells if the user name already exists. * @return true if the user name exists. -- cgit v1.2.3-60-g2f50