mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-01-18 16:50:54 +00:00
no need to split and rejoin here.
This commit is contained in:
parent
f6f0044a84
commit
690fabddaf
@ -85,9 +85,8 @@ func (s *Session) proxyFrom(buf []byte) error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if s.isRconResponsePacket(buf) && log.GetLevel() == log.DebugLevel {
|
if s.isRconResponsePacket(buf) {
|
||||||
parts := strings.Split(string(buf[10:]), " ")
|
log.Debugf("Response: %s", string(buf[10:]))
|
||||||
log.Debugf("Response: %s", strings.Join(parts, " "))
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user