Przeglądaj źródła

* Set server_online to now if upgrading from older bot

Bryan Drewery 16 lat temu
rodzic
commit
5c22c373cb
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/misc.c

+ 1 - 0
src/misc.c

@@ -689,6 +689,7 @@ readsocks(const char *fname)
       add_server(nserv);
       curserv = 0;
       keepnick = 0; /* Wait to change nicks until relinking, fixes nick/jupenick switching issues during restart */
+      if (!server_online) server_online = now;
       rehash_server(dcc[servidx].host, nick);
       if (cached_005)
         replay_cache(servidx, NULL);