1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-26 19:02:17 -05:00

Ignore 439 response on connect (ridicolous spam bot checks..)

This commit is contained in:
Sebastian Kaspari 2010-04-11 21:20:47 +02:00
parent 64dde2de90
commit 206d152981

View File

@ -201,7 +201,7 @@ public abstract class PircBot implements ReplyConstants {
throw new NickAlreadyInUseException(line);
}
}
else if (code.startsWith("5") || code.startsWith("4")) {
else if ((code.startsWith("5") || code.startsWith("4")) && !code.equals("439")) {
socket.close();
_inputThread = null;
throw new IrcException("Could not log into the IRC server: " + line);