summaryrefslogtreecommitdiff
path: root/src/dalstorage.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dalstorage.h')
-rw-r--r--src/dalstorage.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dalstorage.h b/src/dalstorage.h
index d3785568..ae22b65f 100644
--- a/src/dalstorage.h
+++ b/src/dalstorage.h
@@ -100,11 +100,11 @@ class DALStorage: public Storage
getEmailList();
/**
- * Tells if Email already exists.
- * @return true if Email is already in database
+ * Return the number of same Emails in account's table.
+ * @return Number of same Email.
*/
- bool
- doesEmailAlreadyExists(const std::string &email);
+ unsigned int
+ getSameEmailNumber(const std::string &email);
/**
* Tells if the character's name already exists