[Modify] Replace them

This commit is contained in:
sta 2017-02-18 17:27:00 +09:00
parent c3b8238ba8
commit 87ea54b0a5

View File

@ -605,14 +605,14 @@ namespace WebSocketSharp.Server
set {
string msg;
if (!checkIfAvailable (true, false, false, true, out msg)) {
_logger.Error (msg);
if (!canSet (out msg)) {
_logger.Warn (msg);
return;
}
lock (_sync) {
if (!checkIfAvailable (true, false, false, true, out msg)) {
_logger.Error (msg);
if (!canSet (out msg)) {
_logger.Warn (msg);
return;
}