[Modify] Polish it
This commit is contained in:
parent
76eb7d157c
commit
d732d88ba2
@ -361,14 +361,8 @@ namespace WebSocketSharp.Net
|
|||||||
}
|
}
|
||||||
|
|
||||||
set {
|
set {
|
||||||
if (value.IsNullOrEmpty ()) {
|
_domain = value ?? String.Empty;
|
||||||
_domain = String.Empty;
|
ExactDomain = _domain.Length == 0 || _domain[0] != '.';
|
||||||
ExactDomain = true;
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
_domain = value;
|
|
||||||
ExactDomain = value[0] != '.';
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user