[Modify] Put it back

master
sta 8 years ago
parent d1c5f0b334
commit eedd814429

@ -319,7 +319,9 @@ namespace WebSocketSharp.Server
/// </exception>
public string Protocol {
get {
return _protocol ?? String.Empty;
return _websocket != null
? _websocket.Protocol
: (_protocol ?? String.Empty);
}
set {

Loading…
Cancel
Save