2 Commits

Author SHA1 Message Date
65ab17b9c9 add whitespace for readability 2024-11-22 13:20:27 +00:00
d180c455a3 fix typo 2024-11-09 18:59:01 +00:00
2 changed files with 3 additions and 1 deletions

View File

@@ -15,5 +15,5 @@ Before any major/minor/patch bump all unit tests will be run to verify they pass
### Added
- Initial release, package implements Rcon using the Q3 procotocl.
- Initial release, package implements Rcon using the Q3 protocol.
- A basic CLI implementation accepting configuration flags.

View File

@@ -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