[Modify] Polish it
This commit is contained in:
parent
a4da7191e4
commit
94adee0aaf
@ -139,9 +139,8 @@ namespace WebSocketSharp.Net
|
||||
/// </exception>
|
||||
public void Add (string uriPrefix)
|
||||
{
|
||||
_listener.CheckDisposed ();
|
||||
|
||||
HttpListenerPrefix.CheckPrefix (uriPrefix);
|
||||
_listener.CheckDisposed ();
|
||||
|
||||
if (_prefixes.Contains (uriPrefix))
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user