Skip to content

Commit

Permalink
Correct backport of bug #1065, patch from DukePyrolator, there is no …
Browse files Browse the repository at this point in the history
…nc on the User struct in 1.8.x, use nickTrack instead, oops.

git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/stable@2199 5417fbe8-f217-4b02-8779-1006273d7864
  • Loading branch information
cyberbotx committed Mar 23, 2009
1 parent 57fb28e commit 8f3958d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/core/ns_suspend.c
Expand Up @@ -117,8 +117,12 @@ int do_suspend(User * u)
na2->status &= ~(NS_IDENTIFIED | NS_RECOGNIZED);
na2->last_quit = sstrdup(reason);
/* remove nicktracking */
if ((u2 = finduser(na2->nick)))
u2->nc = NULL;
if ((u2 = finduser(na2->nick))) {
if (u2->nickTrack) {
free(u2->nickTrack);
u2->nickTrack = NULL;
}
}
/* force guestnick */
collide(na2, 0);
}
Expand Down
3 changes: 2 additions & 1 deletion version.log
Expand Up @@ -9,10 +9,11 @@ VERSION_MAJOR="1"
VERSION_MINOR="8"
VERSION_PATCH="0"
VERSION_EXTRA="-svn"
VERSION_BUILD="2196"
VERSION_BUILD="2199"

# $Log$ # Changes since 1.8.0 Release

#Revision 2199 - Correct backport of bug #1064, patch from DukePyrolator, there is no nc on the User struct in 1.8.x, use nickTrack instead, oops.
#Revision 2196 - Backport of bugfix for bug #1044 from SVN r2195, CS SET MLOCK no longer requires a parameter, and leaving out the parameter renders the mlock to +r as it should be.
#Revision 2193 - Backport of bugfix for bug #1065 from SVN r2192, original patch from DukePyrolator, force a user off a nick when it is suspended.
#Revision 2189 - Backport of bugfix for bug #1064 from SVN r2188, original patch from DukePyrolator, fixes NS RECOVER so it doesn't display "(null)" in some places.
Expand Down

0 comments on commit 8f3958d

Please sign in to comment.