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:
+1
-4
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user