[Modify] Polish it
This commit is contained in:
parent
c86632e529
commit
32efdc25c3
@ -811,7 +811,10 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
private void checkRestricted (string name)
|
private void checkRestricted (string name)
|
||||||
{
|
{
|
||||||
if (!_internallyUsed && isRestricted (name, true))
|
if (_internallyUsed)
|
||||||
|
return;
|
||||||
|
|
||||||
|
if (isRestricted (name, true))
|
||||||
throw new ArgumentException ("This header must be modified with the appropiate property.");
|
throw new ArgumentException ("This header must be modified with the appropiate property.");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user