diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 4bc79cb6..6cc94466 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -968,7 +968,7 @@ namespace WebSocketSharp || !protocol.IsToken (); if (protocols.Contains (cond)) { - message = "It contains an invalid value."; + message = "It contains a value that is not a token."; return false; }