rename comparand arg

This commit is contained in:
onyx-and-iris 2024-04-14 19:13:56 +01:00
parent 05fb7bdd0f
commit 826756eb6e

View File

@ -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 {