diff options
author | Adam <Adam@anope.org> | 2010-09-28 18:37:14 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-28 18:37:14 -0400 |
commit | 0383868a29b49defda92e56921189079448db6f5 (patch) | |
tree | de164af74578034a4ac75862e7a3ce4d11784db4 /src | |
parent | b92711dc15166b91f042e7bba6af395f82a91f07 (diff) |
Fixed bug #1193 - Fixed /nickserv saset display to change the nicktracking of the users affected by it, not the user executing it
Diffstat (limited to 'src')
-rw-r--r-- | src/core/ns_saset.c | 10 |
1 files changed, 7 insertions, 3 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; } |