From 65ab17b9c9bc50e4fc7bf1db56457b79a215e232 Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Fri, 22 Nov 2024 13:20:27 +0000 Subject: [PATCH] add whitespace for readability --- q3rcon.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/q3rcon.go b/q3rcon.go index 2630338..3593842 100644 --- a/q3rcon.go +++ b/q3rcon.go @@ -86,7 +86,9 @@ func (r Rcon) Send(cmd string) (string, error) { respChan := make(chan string) errChan := make(chan error) + go r.listen(timeout, respChan, errChan) + _, err := r.conn.Write(r.request.Encode(cmd)) if err != nil { return "", err