1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 19:03:13 +02:00

Fixed bug #1193 - Fixed /nickserv saset display to change the nicktracking of the users affected by it, not the user executing it

This commit is contained in:
Adam
2010-09-28 18:37:14 -04:00
parent b92711dc15
commit 0383868a29
2 changed files with 9 additions and 4 deletions
+7 -3
View File
@@ -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;
}