From 0383868a29b49defda92e56921189079448db6f5 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Sep 2010 18:37:14 -0400 Subject: [PATCH] Fixed bug #1193 - Fixed /nickserv saset display to change the nicktracking of the users affected by it, not the user executing it --- src/core/ns_saset.c | 10 +++++++--- version.log | 3 ++- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/src/core/ns_saset.c b/src/core/ns_saset.c index fbf3c99e5..ed5c5a6a1 100644 --- a/src/core/ns_saset.c +++ b/src/core/ns_saset.c @@ -215,9 +215,13 @@ int do_saset_display(User * u, NickCore * nc, char *param) change_core_display(nc, param); notice_lang(s_NickServ, u, NICK_SASET_DISPLAY_CHANGED, nc->display); - /* Enable nick tracking if enabled */ - if (NSNickTracking) - nsStartNickTracking(u); + if (NSNickTracking) { + for (i = 0; i < nc->aliases.count; ++i) { + na = nc->aliases.list[i]; + if (na->u && nick_identified(na->u)) + nsStartNickTracking(na->u); + } + } return MOD_CONT; } diff --git a/version.log b/version.log index 5dcd4afa4..888888e71 100644 --- a/version.log +++ b/version.log @@ -8,9 +8,10 @@ VERSION_MAJOR="1" VERSION_MINOR="8" VERSION_PATCH="5" VERSION_EXTRA="-git" -VERSION_BUILD="3042" +VERSION_BUILD="3043" # $Log$ # Changes since 1.8.5 Release +#Revision 3043 - Fixed /nickserv saset display to change the nicktracking of the users affected by it, not the user executing it #Revision 3042 - Fixed /nickserv group to use nicktracking if enabled #Revision 3041 - Rewrote the mail forking code to use pipes, sometimes mails wouldn't work with the old method #Revision 3040 - Fixed configure failing on some systems which have a partial MySQL installation