<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39654 >

On 02/09/07, Marko Lindqvist wrote:
>
>  1. Start server with "-q 20" -parameter

 ...

>  Why is it restarting twice?


 Fix


 - ML

diff -Nurd -X.diff_ignore freeciv/server/sernet.c freeciv/server/sernet.c
--- freeciv/server/sernet.c	2007-08-20 01:35:23.000000000 +0300
+++ freeciv/server/sernet.c	2007-09-02 02:59:49.000000000 +0300
@@ -513,6 +513,9 @@
 	      /* No need for anything more; just quit. */
 	      server_quit();
 	    }
+
+            /* Do not restart before someone has connected and left again */
+            connections = FALSE;
 	  }
 	} else {
           char buf[256];
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to