summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-09-28 18:37:14 -0400
committerAdam <Adam@anope.org>2010-09-28 18:37:14 -0400
commit0383868a29b49defda92e56921189079448db6f5 (patch)
treede164af74578034a4ac75862e7a3ce4d11784db4
parentb92711dc15166b91f042e7bba6af395f82a91f07 (diff)
Fixed bug #1193 - Fixed /nickserv saset display to change the nicktracking of the users affected by it, not the user executing it
-rw-r--r--src/core/ns_saset.c10
-rw-r--r--version.log3
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