diff --git a/shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs b/shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs index 73141281..d965a083 100644 --- a/shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs +++ b/shadowsocks-csharp/Controller/Strategy/StatisticsStrategy.cs @@ -90,7 +90,7 @@ namespace Shadowsocks.Controller.Strategy var serversWithStatistics = (from server in servers let id = server.Identifier() where _filteredStatistics.ContainsKey(id) - let score = GetScore(server.Identifier(), _filteredStatistics[server.Identifier()]) + let score = GetScore(id, _filteredStatistics[id]) where score != null select new {