diff --git a/prototils.go b/prototils.go index 62f51e7..1bc761a 100644 --- a/prototils.go +++ b/prototils.go @@ -78,7 +78,7 @@ func (this *WspCliConn) IsValid() bool { func (this *WspCliConn) Reset() bool { this.Conn = nil - this.SocketHandle == 0 + this.SocketHandle = 0 } func (this *WSProxyPackHead_C) Read(data []byte, offset int) {