mirror of
https://github.com/matrix-construct/construct
synced 2025-01-01 02:14:13 +01:00
change_nick_user_host: Only send +n snotes about local clients.
This commit is contained in:
parent
bb73e588bc
commit
34616c3be1
1 changed files with 5 additions and 4 deletions
|
@ -1486,10 +1486,11 @@ change_nick_user_host(struct Client *target_p, const char *nick, const char *use
|
||||||
target_p->name, target_p->username,
|
target_p->name, target_p->username,
|
||||||
target_p->host, nick);
|
target_p->host, nick);
|
||||||
|
|
||||||
sendto_realops_snomask(SNO_NCHANGE, L_ALL,
|
if(MyConnect(target_p))
|
||||||
"Nick change: From %s to %s [%s@%s]",
|
sendto_realops_snomask(SNO_NCHANGE, L_ALL,
|
||||||
target_p->name, nick,
|
"Nick change: From %s to %s [%s@%s]",
|
||||||
target_p->username, target_p->host);
|
target_p->name, nick,
|
||||||
|
target_p->username, target_p->host);
|
||||||
}
|
}
|
||||||
|
|
||||||
rb_strlcpy(target_p->username, user, sizeof target_p->username);
|
rb_strlcpy(target_p->username, user, sizeof target_p->username);
|
||||||
|
|
Loading…
Reference in a new issue