Darien Raymond hace 8 años
padre
commit
0ef9143ffd
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      transport/internet/kcp/connection.go

+ 2 - 2
transport/internet/kcp/connection.go

@@ -19,9 +19,9 @@ var (
 
 type State int32
 
-func (v State) Is(states ...State) bool {
+func (s State) Is(states ...State) bool {
 	for _, state := range states {
-		if v == state {
+		if s == state {
 			return true
 		}
 	}