Selaa lähdekoodia

Bump wait_split to 1000 as irssi has it

Bryan Drewery 10 vuotta sitten
vanhempi
commit
0710d7b365
2 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 1 0
      doc/UPDATES.md
  2. 1 1
      src/mod/irc.mod/irc.cc

+ 1 - 0
doc/UPDATES.md

@@ -16,6 +16,7 @@
   * Fix various small memory leaks.
   * Fix case where .[bot]set would not share to new bots until their localhub
     was relinked.
+  * Raise netsplit timeout to 1000 seconds.
 
 # 1.4.6
   * Disable demo TCL support by default to prevent confusion during build.

+ 1 - 1
src/mod/irc.mod/irc.cc

@@ -74,7 +74,7 @@ static cache_t *irccache = NULL;
 
 #define do_eI (((now - chan->channel.last_eI) > 30) ? 1 : 0)
 
-static time_t wait_split = 900;    /* Time to wait for user to return from
+static time_t wait_split = 1000;    /* Time to wait for user to return from
                                  * net-split. */
 int max_bans;                   /* Modified by net-type 1-4 */
 int max_exempts;