Navigation Menu

Skip to content

Commit

Permalink
Fixed deleting nick requests to only delete the requested nick
Browse files Browse the repository at this point in the history
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2918 5417fbe8-f217-4b02-8779-1006273d7864
  • Loading branch information
Adam- authored and Adam- committed Apr 29, 2010
1 parent e897082 commit 40c9226
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions Changes
Expand Up @@ -4,6 +4,7 @@ Anope Version 1.8 - SVN
4/15 F Fixed a potential crash in cs_clear ops [#1154]
4/16 F Fixed missing TS6SID on FJOIN in inspircd12 [ #00]
4/19 F Fixed ns_info to show nick expire times to opers not only admins [ #00]
4/28 F Fixed a bug that could make some nick requests disappear [ #00]

Anope Version 1.8.4
-------------------
Expand Down
8 changes: 7 additions & 1 deletion src/nickserv.c
Expand Up @@ -1539,7 +1539,13 @@ static int delcore(NickCore * nc)
int delnickrequest(NickRequest * nr)
{
if (nr) {
nrlists[HASH(nr->nick)] = nr->next;
if (nr->next)
nr->next->prev = nr->prev;
if (nr->prev)
nr->prev->next = nr->next;
else
nrlists[HASH(nr->nick)] = nr->next;

if (nr->nick)
free(nr->nick);
if (nr->passcode)
Expand Down
3 changes: 2 additions & 1 deletion version.log
Expand Up @@ -9,9 +9,10 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="4"
VERSION_EXTRA="-svn"
VERSION_BUILD="2903"
VERSION_BUILD="2918"

# $Log$ # Changes since the 1.8.4 Release
#Revision 2918 - Fixed deleting nick requests to only delete the requested nick
#Revision 2903 - Removed some unnecessary redundant code in cs_clear
#Revision 2900 - Fixed /ns info to show when a nick expires to services opers, not only admins
#Revision 2899 - Fixed missing SID on FJOIN in InspIRCd12 protocol module
Expand Down

0 comments on commit 40c9226

Please sign in to comment.