add whitespace for readability

This commit is contained in:
onyx-and-iris 2024-11-22 13:20:27 +00:00
parent d180c455a3
commit 65ab17b9c9

View File

@ -86,7 +86,9 @@ func (r Rcon) Send(cmd string) (string, error) {
respChan := make(chan string) respChan := make(chan string)
errChan := make(chan error) errChan := make(chan error)
go r.listen(timeout, respChan, errChan) go r.listen(timeout, respChan, errChan)
_, err := r.conn.Write(r.request.Encode(cmd)) _, err := r.conn.Write(r.request.Encode(cmd))
if err != nil { if err != nil {
return "", err return "", err