guinness DEFINITELY *IS* good for codaz
This commit is contained in:
parent
a5739325b6
commit
29cea3ef41
12
src/irc.c
12
src/irc.c
|
@ -1939,16 +1939,16 @@ void irc_main(connection_t *inc, list_t *ll)
|
||||||
struct link *link;
|
struct link *link;
|
||||||
connection_t *conn;
|
connection_t *conn;
|
||||||
|
|
||||||
/* Lauch reconnections */
|
|
||||||
while ((link = list_remove_first(&reconnectl))) {
|
|
||||||
conn = irc_server_connect(link);
|
|
||||||
list_add_last(&connl, conn);
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Compute timeouts for next reconnections and lagouts */
|
/* Compute timeouts for next reconnections and lagouts */
|
||||||
if (timeleft == 0) {
|
if (timeleft == 0) {
|
||||||
timeleft = 1000;
|
timeleft = 1000;
|
||||||
|
|
||||||
|
/* Lauch one reconnection at a time */
|
||||||
|
if ((link = list_remove_first(&reconnectl))) {
|
||||||
|
conn = irc_server_connect(link);
|
||||||
|
list_add_last(&connl, conn);
|
||||||
|
}
|
||||||
|
|
||||||
/* log flushs */
|
/* log flushs */
|
||||||
if (logflush_timer-- <= 0) {
|
if (logflush_timer-- <= 0) {
|
||||||
logflush_timer = conf_log_sync_interval;
|
logflush_timer = conf_log_sync_interval;
|
||||||
|
|
Loading…
Reference in New Issue