[Modify] Replace it

This commit is contained in:
sta 2017-02-23 15:24:29 +09:00
parent d37e6f6722
commit b2934dc373

View File

@ -75,9 +75,9 @@ namespace WebSocketSharp.Server
}
set {
var msg = _sessions.State.CheckIfAvailable (true, false, false);
if (msg != null) {
_log.Error (msg);
string msg;
if (!canSet (out msg)) {
_log.Warn (msg);
return;
}