mirror of
https://github.com/onyx-and-iris/q3rcon-proxy.git
synced 2025-01-18 08:40:53 +00:00
rename comparand arg
This commit is contained in:
parent
05fb7bdd0f
commit
826756eb6e
@ -24,8 +24,8 @@ func newValidator() validator {
|
||||
return v
|
||||
}
|
||||
|
||||
func (v *validator) compare(buf, header []byte) bool {
|
||||
return bytes.Equal(buf[:len(header)], header)
|
||||
func (v *validator) compare(buf, c []byte) bool {
|
||||
return bytes.Equal(buf[:len(c)], c)
|
||||
}
|
||||
|
||||
func (v *validator) isRconRequestPacket(buf []byte) bool {
|
||||
|
Loading…
Reference in New Issue
Block a user