Manage IsDynSpoof when effecting a (post-reg) SIGNON
This commit is contained in:
parent
848f1a289b
commit
20066eae1f
1 changed files with 5 additions and 0 deletions
|
@ -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));
|
||||
|
||||
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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue