mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2026-04-07 23:53:30 +00:00
Compare commits
1 Commits
v0.6.0
...
f6f0044a84
| Author | SHA1 | Date | |
|---|---|---|---|
| f6f0044a84 |
@@ -85,7 +85,7 @@ func (s *Session) proxyFrom(buf []byte) error {
|
||||
return err
|
||||
}
|
||||
|
||||
if s.isRconResponsePacket(buf) {
|
||||
if s.isRconResponsePacket(buf) && log.GetLevel() == log.DebugLevel {
|
||||
parts := strings.Split(string(buf[10:]), " ")
|
||||
log.Debugf("Response: %s", strings.Join(parts, " "))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user