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