mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-26 10:52:16 -05:00
Pircbot Patch: We are not connected to server if there's nothing to read from the server
This commit is contained in:
parent
c3fe7963a2
commit
ec9b00fd22
@ -208,7 +208,10 @@ public abstract class PircBot implements ReplyConstants {
|
||||
}
|
||||
}
|
||||
this.setNick(nick);
|
||||
|
||||
}
|
||||
|
||||
if (line == null) {
|
||||
throw new IOException("Could not connect to server");
|
||||
}
|
||||
|
||||
// This makes the socket timeout on read operations after 5 minutes.
|
||||
|
Loading…
Reference in New Issue
Block a user