summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.hpp
diff options
context:
space:
mode:
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.
*/