added /_ctl/client-conns/id/nocies

This commit is contained in:
2025-02-18 01:17:51 +09:00
parent a0efb55c3e
commit 81f7bb0c0d
3 changed files with 76 additions and 0 deletions

View File

@ -579,6 +579,7 @@ func (ctl *server_ctl_server_conns_id_notices) ServeHTTP(w http.ResponseWriter,
goto oops
}
// no check if noti.Text is empty as i want an empty message to be delivered too.
err = cts.pss.Send(MakeConnNoticePacket(noti.Text))
if err != nil {
err = fmt.Errorf("failed to send conn_notice text to %s - %s", noti.Text, cts.RemoteAddr, err.Error())