[Modify] Polish it

This commit is contained in:
sta 2017-09-07 20:03:06 +09:00
parent 9593bf1a85
commit c9291b1712

View File

@ -98,9 +98,10 @@ namespace WebSocketSharp.Server
/// </value>
public IEnumerable<string> ActiveIDs {
get {
foreach (var res in Broadping (WebSocketFrame.EmptyPingBytes, _waitTime))
foreach (var res in broadping (WebSocketFrame.EmptyPingBytes)) {
if (res.Value)
yield return res.Key;
}
}
}