forgot about empty lines, my bad

This commit is contained in:
Licshee
2016-02-06 11:13:17 +08:00
parent 859474b577
commit 6a33e24ebc
+1 -1
View File
@@ -21,7 +21,7 @@ namespace Shadowsocks.Controller
string line;
while ((line = sr.ReadLine()) != null)
{
if (line[0] == '#')
if (line == "" || line[0] == '#')
continue;
var pos = line.IndexOf('=');