Dont accept a 300 response

This commit is contained in:
Trever Fischer 2012-02-27 11:34:41 -05:00
parent a8c43fb28a
commit 54b2bbb92e

View File

@ -112,7 +112,7 @@ public class JoinListener extends PlayerListener {
log.info("Authing "+user+" against "+authServer);
HttpURLConnection conn = (HttpURLConnection)authServer.openConnection();
int code = conn.getResponseCode();
if (code >= 200 && code <= 300)
if (code >= 200 && code < 300)
return true;
return false;
}