Update of /cvsroot/netrek/server/Vanilla/tools
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3547/tools

Modified Files:
	message.c setplanet.c 
Log Message:
voting site policy

Index: message.c
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/tools/message.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- message.c	21 Mar 2005 05:23:47 -0000	1.1
+++ message.c	26 Apr 2006 09:52:43 -0000	1.2
@@ -1,15 +1,5 @@
 #include <stdio.h>
-#include <sys/types.h>
-#include <sys/time.h>
-#include <signal.h>
-#include <setjmp.h>
-#include <sys/file.h>
-#include <math.h>
-#include <sys/ipc.h>
-#include <errno.h>
-#include <pwd.h>
 #include <string.h>
-#include <ctype.h>
 #include "defs.h"
 #include "struct.h"
 #include "data.h"

Index: setplanet.c
===================================================================
RCS file: /cvsroot/netrek/server/Vanilla/tools/setplanet.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- setplanet.c	23 Apr 2006 11:22:53 -0000	1.1
+++ setplanet.c	26 Apr 2006 09:52:43 -0000	1.2
@@ -369,5 +369,10 @@
       goto state_1;
     }
 
+    if (!strcmp(argv[i], "is-flat")) {
+      if (pl->pl_armies < 5) return 0;
+      return 1;
+    }
+
     goto state_0;
 }