X-Git-Url: https://git.cweiske.de/stouyapi.git/blobdiff_plain/4d2b9288d5403294fe6541358341986910e43c36..4f203e3eb94fcb899ad72da8fc9a6c3c85a3280f:/www/push-to-my-ouya.php diff --git a/www/push-to-my-ouya.php b/www/push-to-my-ouya.php index fd39043..12c9077 100644 --- a/www/push-to-my-ouya.php +++ b/www/push-to-my-ouya.php @@ -56,15 +56,6 @@ if ($ip == '') { echo 'Cannot detect your IP address' . "\n"; exit(1); } -if (strpos($ip, ':') !== false) { - header('HTTP/1.0 400 Bad Request'); - header('Content-type: text/plain'); - echo 'Sorry, IPv6 is not supported' . "\n"; - echo 'This here only works if the OUYA and your PC have the same IP address,' - . "\n"; - echo 'and this is definitely not the case when using IPv6' . "\n"; - exit(1); -} $ip = mapIp($ip); try {