From 0383868a29b49defda92e56921189079448db6f5 Mon Sep 17 00:00:00 2001 From: Adam Date: Tue, 28 Sep 2010 18:37:14 -0400 Subject: 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 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'src') 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; } -- cgit