Hey guys.. Well, before I open up my server, im trying to fix this 1 problem. Every once in awhile when you try logging in, you'll get "No response from server" and I look at my CMD box and I get this:

It bans your for no reason.. And I really need to get rid of this. I also found this public void in server.java:
Code:
public void banHost(String host, int num) {
if (false) {
banned.add(host);
} else {
try {
misc.println("BANNING HOST " + host + " (flooding)");
banned.add(host);
delay = 2000;
delayUpdate = System.currentTimeMillis() + 60000;
} catch (Exception e) {
e.printStackTrace();
}
}
}
public boolean checkHost(String host) {
for (String h : banned) {
if (h.equals(host))
return false;
}
int num = 0;
for (String h : connections) {
if (host.equals(h)) {
num++;
}
}
if (num > 1) {
banHost(host, num);
return false;
}
if (checkLog("Ipbans", host)) {
System.out.println("They are in ip ban list!");
return false;
}
/* if (loadIPBanList(host)) {
System.out.println("They are in ip ban list!");
return false;
} */
return true;
}
public boolean loadIPBanList(String host){
try {
results = statement.executeQuery("SELECT * FROM ds_playerIpbans");
while(results.next()){
if(host.equalsIgnoreCase(results.getString("Ip")))
return true;
}
statement.close();
} catch(Exception e){
e.printStackTrace();
}
return false;
}
SO what do I delete? Thanks.