diff --git a/websocket-sharp/Net/HttpListener.cs b/websocket-sharp/Net/HttpListener.cs index 9a5ad839..7341d3ae 100644 --- a/websocket-sharp/Net/HttpListener.cs +++ b/websocket-sharp/Net/HttpListener.cs @@ -392,9 +392,9 @@ namespace WebSocketSharp.Net /// authenticate a client. /// /// - /// A Func<, > delegate that - /// references the method used to find the credentials. The default value is a function that - /// only returns . + /// A Func<, > delegate + /// that references the method used to find the credentials. The default value is + /// . /// /// /// This listener has been closed. @@ -402,7 +402,7 @@ namespace WebSocketSharp.Net public Func UserCredentialsFinder { get { CheckDisposed (); - return _userCredFinder ?? (_userCredFinder = id => null); + return _userCredFinder; } set {