diff --git a/websocket-sharp/Server/WebSocketBehavior.cs b/websocket-sharp/Server/WebSocketBehavior.cs index 03ef1bed..1a2169aa 100644 --- a/websocket-sharp/Server/WebSocketBehavior.cs +++ b/websocket-sharp/Server/WebSocketBehavior.cs @@ -260,7 +260,7 @@ namespace WebSocketSharp.Server /// public string Protocol { get { - return _websocket != null ? _websocket.Protocol : (_protocol ?? String.Empty); + return _protocol ?? String.Empty; } set {