[Modify] Polish it

This commit is contained in:
sta 2020-03-24 19:43:50 +09:00
parent 2cdc1ee42b
commit 91e22c1138

View File

@ -1392,7 +1392,9 @@ namespace WebSocketSharp.Net
/// </exception>
public static bool IsRestricted (string headerName, bool response)
{
return isRestricted (checkName (headerName), response);
headerName = checkName (headerName);
return isRestricted (headerName, response);
}
/// <summary>