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:
+7
-3
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user