[Modify] Polish it

This commit is contained in:
sta 2016-02-13 16:00:13 +09:00
parent a520733ba2
commit b5af31a756

View File

@ -1753,10 +1753,7 @@ namespace WebSocketSharp
if (value.Length == 0)
return false;
if (!_protocolsRequested || !_protocols.Contains (p => p == value))
return false;
return true;
return _protocolsRequested && _protocols.Contains (p => p == value);
}
// As server