mirror of
https://github.com/anope/anope.git
synced 2026-07-04 16:13:13 +02:00
Forward port of r2918
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@2919 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
+7
-1
@@ -20,7 +20,13 @@ NickRequest::~NickRequest()
|
||||
{
|
||||
FOREACH_MOD(I_OnDelNickRequest, OnDelNickRequest(this));
|
||||
|
||||
nrlists[HASH(this->nick)] = this->next;
|
||||
if (this->next)
|
||||
this->next->prev = this->prev;
|
||||
if (this->prev)
|
||||
this->prev->next = this->next;
|
||||
else
|
||||
nrlists[HASH(this->nick)] = this->next;
|
||||
|
||||
if (this->nick)
|
||||
delete [] this->nick;
|
||||
if (this->email)
|
||||
|
||||
Reference in New Issue
Block a user