summaryrefslogtreecommitdiff
path: root/src/nickalias.cpp
diff options
context:
space:
mode:
authorDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-09 08:49:00 +0000
committerDukePyrolator <DukePyrolator@5417fbe8-f217-4b02-8779-1006273d7864>2010-01-09 08:49:00 +0000
commit5e62e8f22e94c975159e1800732cb2740c18d50b (patch)
treef3551b11b8a21f36afa8f5d8b594536e4ccc7b9c /src/nickalias.cpp
parenta4b015b39d0e232121e060466a979277f0f28ce2 (diff)
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
Diffstat (limited to 'src/nickalias.cpp')
-rw-r--r--src/nickalias.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/nickalias.cpp b/src/nickalias.cpp
index 9d4678209..5ab62eafa 100644
--- a/src/nickalias.cpp
+++ b/src/nickalias.cpp
@@ -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;
}