Manage IsDynSpoof when effecting a (post-reg) SIGNON

This commit is contained in:
Ed Kellett 2021-05-27 13:00:38 +01:00
parent 848f1a289b
commit 20066eae1f

View file

@ -412,5 +412,10 @@ send_signon(struct Client *client_p, struct Client *target_p,
rb_strlcpy(target_p->user->suser, login, sizeof(target_p->user->suser)); rb_strlcpy(target_p->user->suser, login, sizeof(target_p->user->suser));
if (irccmp(target_p->orighost, host))
SetDynSpoof(target_p);
else
ClearDynSpoof(target_p);
change_nick_user_host(target_p, nick, user, host, newts, "Signing %s (%s)", *login ? "in" : "out", nick); change_nick_user_host(target_p, nick, user, host, newts, "Signing %s (%s)", *login ? "in" : "out", nick);
} }