remove unuseful errors

This commit is contained in:
Darien Raymond
2016-12-15 17:12:53 +01:00
parent 09c0fa558a
commit 3ec82f5d32
2 changed files with 1 additions and 11 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ func (v *ServerSession) DecodeRequestHeader(reader io.Reader) (*protocol.Request
user, timestamp, valid := v.userValidator.Get(buffer[:protocol.IDBytesLen])
if !valid {
return nil, protocol.ErrInvalidUser
return nil, errors.New("VMess|Server: Invalid user.")
}
timestampHash := md5.New()