summaryrefslogtreecommitdiff
path: root/src/account-server/dalstorage.hpp
diff options
context:
space:
mode:
authorGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-31 10:02:36 +0000
committerGuillaume Melquiond <guillaume.melquiond@gmail.com>2007-08-31 10:02:36 +0000
commit60f60de8aefeebd1de0bf6c940558902226d7747 (patch)
treeed3a5b3f9f721d559d29f872073bc293a66a99d0 /src/account-server/dalstorage.hpp
parente681c0024c1db3f93c501a0a9600371440986674 (diff)
downloadmanaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.gz
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.bz2
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.tar.xz
manaserv-60f60de8aefeebd1de0bf6c940558902226d7747.zip
Plugged several account leaks on error. Prevented banned players from logging in.
Diffstat (limited to 'src/account-server/dalstorage.hpp')
-rw-r--r--src/account-server/dalstorage.hpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/account-server/dalstorage.hpp b/src/account-server/dalstorage.hpp
index aa9ad7f0..abc9d314 100644
--- a/src/account-server/dalstorage.hpp
+++ b/src/account-server/dalstorage.hpp
@@ -129,14 +129,20 @@ class DALStorage
#endif
/**
+ * Tells if the user name already exists.
+ * @return true if the user name exists.
+ */
+ bool doesUserNameExist(std::string const &name);
+
+ /**
* Tells if the email address already exists.
* @return true if the email address exists.
*/
bool doesEmailAddressExist(std::string const &email);
/**
- * Tells if the character's name already exists
- * @return true if character's name exists.
+ * Tells if the character name already exists.
+ * @return true if the character name exists.
*/
bool doesCharacterNameExist(std::string const &name);