mirror of
https://github.com/pissnet/angiosperm.git
synced 2025-04-24 00:55:03 +01:00
send RPL_LOGGEDIN to target_p upon ENCAP SU
This commit is contained in:
parent
5a1b54fddc
commit
7a37d142e2
1 changed files with 4 additions and 0 deletions
|
@ -140,6 +140,10 @@ me_su(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p,
|
|||
target_p->name, target_p->username, target_p->host,
|
||||
EmptyString(target_p->user->suser) ? "*" : target_p->user->suser);
|
||||
|
||||
if (MyClient(target_p))
|
||||
sendto_one(target_p, form_str(RPL_LOGGEDIN), me.name, target_p->name,
|
||||
target_p->name, target_p->username, target_p->host, parv[2], parv[2]);
|
||||
|
||||
invalidate_bancache_user(target_p);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue