mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-01-18 00:30: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
|
||||
}
|
||||
|
||||
if s.isRconResponsePacket(buf) && log.GetLevel() == log.DebugLevel {
|
||||
parts := strings.Split(string(buf[10:]), " ")
|
||||
log.Debugf("Response: %s", strings.Join(parts, " "))
|
||||
if s.isRconResponsePacket(buf) {
|
||||
log.Debugf("Response: %s", string(buf[10:]))
|
||||
}
|
||||
|
||||
return nil
|
||||
|
Loading…
Reference in New Issue
Block a user