summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.hpp
diff options
context:
space:
mode:
authorDavid Athay <ko2fan@gmail.com>2008-08-28 14:46:37 +0000
committerDavid Athay <ko2fan@gmail.com>2008-08-28 14:46:37 +0000
commit70d580c479c5310c0f7a7efd1a3e7f324cfb99f9 (patch)
treeda31ea41744ae5e86d24a372ba067214e6908dbd /src/account-server/dalstorage.hpp
parent9f982fe1a4728dbbcbd5089f6d4b6c4e08414b6a (diff)
downloadmanaserv-70d580c479c5310c0f7a7efd1a3e7f324cfb99f9.tar.gz
manaserv-70d580c479c5310c0f7a7efd1a3e7f324cfb99f9.tar.bz2
manaserv-70d580c479c5310c0f7a7efd1a3e7f324cfb99f9.tar.xz
manaserv-70d580c479c5310c0f7a7efd1a3e7f324cfb99f9.zip
Added checking for expired bans.
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r--src/account-server/dalstorage.hpp12
1 files changed, 12 insertions, 0 deletions
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
@@ -126,6 +126,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.
*/