1
0
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:
Adam-
2010-04-29 00:23:18 +00:00
parent 3d367e9bde
commit 7fc9b4f943
+7 -1
View File
@@ -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)