Update of /cvsroot/netrek/server/Vanilla/include In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21188/include Modified Files: config.h.in struct.h Log Message: misc working updates Index: config.h.in =================================================================== RCS file: /cvsroot/netrek/server/Vanilla/include/config.h.in,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- config.h.in 28 Sep 2005 12:14:05 -0000 1.3 +++ config.h.in 10 Apr 2006 04:24:51 -0000 1.4 @@ -352,11 +352,15 @@ /* EJECT_ONLY_IF_QUEUE - refuses to eject unless queue != 0 */ + + /* EJECT_PERSISTENCY - does not let player back + in if same character name or same ip address */ #ifdef VOTING #undef ALLOW_EJECT #ifdef ALLOW_EJECT #define VICIOUS_EJECT #define EJECT_ONLY_IF_QUEUE +#define EJECT_PERSISTENCY #endif #endif Index: struct.h =================================================================== RCS file: /cvsroot/netrek/server/Vanilla/include/struct.h,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- struct.h 21 Mar 2005 10:17:16 -0000 1.2 +++ struct.h 10 Apr 2006 04:24:51 -0000 1.3 @@ -174,7 +174,7 @@ #endif struct team { - int s_turns; /* turns till another starbase is legal */ + int s_turns; /* turns till another starbase is legal */ int s_surrender; /* minutes until this team surrenders */ int s_plcount; /* how many planets this team owns */ }; @@ -324,6 +324,7 @@ u_int p_flags; /* Player flags */ char p_name[NAME_LEN]; /* Player handle, i.e. "Wreck" */ char p_login[NAME_LEN]; /* Login name of player's account */ + char p_ip[NAME_LEN]; /* IP address of client in text */ char p_monitor[NAME_LEN]; /* Monitor being played on */ char p_longname[NAME_LEN+6];/* Name plus (mapchars); i.e. "Wreck (R0)" */ char p_mapchars[3]; /* Cache for map window image, i.e. "R0" */