From 60f60de8aefeebd1de0bf6c940558902226d7747 Mon Sep 17 00:00:00 2001 From: Guillaume Melquiond Date: Fri, 31 Aug 2007 10:02:36 +0000 Subject: Plugged several account leaks on error. Prevented banned players from logging in. --- src/account-server/dalstorage.hpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'src/account-server/dalstorage.hpp') 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 @@ -128,6 +128,12 @@ class DALStorage getEmailList(); #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. @@ -135,8 +141,8 @@ class DALStorage 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); -- cgit v1.2.3-60-g2f50