[Modify] Remove it

This commit is contained in:
sta 2016-02-24 16:27:11 +09:00
parent e8cafc37c2
commit fcb4b6604e

View File

@ -793,23 +793,6 @@ namespace WebSocketSharp
: _readyState.CheckIfAvailable (connecting, open, closing, closed);
}
private bool checkIfAvailable (bool client, bool server, out string message)
{
message = null;
if (!client && _client) {
message = "This operation isn't available in: client";
return false;
}
if (!server && !_client) {
message = "This operation isn't available in: server";
return false;
}
return true;
}
private bool checkIfAvailable (
bool connecting, bool open, bool closing, bool closed, out string message
)