Przeglądaj źródła

* Ported [2863] to 1.2.10
* Fixed hubs not keeping their uptime when restarted.


svn: 2864

Bryan Drewery 20 lat temu
rodzic
commit
f258c27694
2 zmienionych plików z 2 dodań i 1 usunięć
  1. 1 0
      doc/UPDATES
  2. 1 1
      src/misc.c

+ 1 - 0
doc/UPDATES

@@ -31,6 +31,7 @@ Lines prefixed with '-' were disabled before release and are not finished, or ar
 * Fixed a timer bug which could cause prolonged looping.
 * Removed some stale (backup) dns servers. (fixes #263)
 * Bot handles are now restricted to 9 characters. (fixes #253)
+* Fixed hubs not keeping their uptime when restarted.
 
 1.2.9 - http://tracker.shatow.net/milestone/1.2.9
 * Fixed cmd_[un]stick not properly using numbers for channel masks. (#160)

+ 1 - 1
src/misc.c

@@ -665,9 +665,9 @@ restart(int idx)
   if (server_online) {
     if (botname[0])
       fprintf(socks->f, "+botname %s\n", botname);
-    fprintf(socks->f, "+online_since %li\n", online_since);
     fprintf(socks->f, "+buildts %li\n", buildts);
   }
+  fprintf(socks->f, "+online_since %li\n", online_since);
   fflush(socks->f);
   socks->my_close();