Nicolas Cannasse 18 years ago
parent
commit
7c56cbe7d9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/neko/net/ProxyDetect.hx

+ 1 - 1
std/neko/net/ProxyDetect.hx

@@ -109,7 +109,7 @@ class ProxyDetect {
 		// value ?
 		var rproxy = ~/"ProxyServer"="([^"]+)"/;
 		if( !rproxy.match(content) )
-			throw "Could not find 'ProxyServer'";
+			return null;
 		return parseSettings(rproxy.matched(1));
 	}