1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 08:46:38 +02:00

changed all password fields to std::string and reworked the way how the enc modules handle the passwords

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2740 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
DukePyrolator
2010-01-09 08:49:00 +00:00
parent a4b015b39d
commit 5e62e8f22e
22 changed files with 212 additions and 303 deletions
+1 -4
View File
@@ -9,8 +9,7 @@ NickRequest::NickRequest(const std::string &nickname)
throw CoreException("Empty nick passed to NickRequest constructor");
next = prev = NULL;
passcode = email = NULL;
*password = 0;
email = NULL;
requested = lastmail = 0;
this->nick = sstrdup(nickname.c_str());
@@ -24,8 +23,6 @@ NickRequest::~NickRequest()
nrlists[HASH(this->nick)] = this->next;
if (this->nick)
delete [] this->nick;
if (this->passcode)
delete [] this->passcode;
if (this->email)
delete [] this->email;
}