mirror of
https://github.com/onyx-and-iris/q3rcon.git
synced 2024-11-23 09:00:47 +00:00
add whitespace for readability
This commit is contained in:
parent
d180c455a3
commit
65ab17b9c9
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user