mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-02 07:46:40 +02:00
/CHGHOST resulted in multiple 'xyz is now your displayed host' messages. Reported by vNode1 (#4505).
This commit is contained in:
@@ -187,7 +187,8 @@ CMD_FUNC(m_chghost)
|
||||
if (UHOST_ALLOWED == UHALLOW_REJOIN)
|
||||
rejoin_joinandmode(acptr);
|
||||
|
||||
sendto_one(acptr, err_str(RPL_HOSTHIDDEN), me.name, acptr->name, parv[2]);
|
||||
if (MyClient(acptr))
|
||||
sendto_one(acptr, err_str(RPL_HOSTHIDDEN), me.name, acptr->name, parv[2]);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user