[Modify] Polish it

This commit is contained in:
sta 2016-05-15 15:02:04 +09:00
parent 7e33636276
commit 11323ed894

View File

@ -174,7 +174,7 @@ namespace WebSocketSharp.Net
if (schm == AuthenticationSchemes.Anonymous)
return true;
if (schm != AuthenticationSchemes.Basic && schm != AuthenticationSchemes.Digest) {
if (schm == AuthenticationSchemes.None) {
_response.Close (HttpStatusCode.Forbidden);
return false;
}