diff --git a/websocket-sharp/WebSocket.cs b/websocket-sharp/WebSocket.cs index 268716e1..731f9ff8 100644 --- a/websocket-sharp/WebSocket.cs +++ b/websocket-sharp/WebSocket.cs @@ -2823,9 +2823,9 @@ namespace WebSocketSharp } if (username.IsNullOrEmpty ()) { + _logger.Warn ("The credentials are set back to the default."); _credentials = null; _preAuth = false; - _logger.Warn ("The credentials were set back to the default."); return; }