(svn r9038) -Fix [FS#115]: inactive connections are not automatically kicked, i.e. people who only open a telnet (or similar) connection to a server.

This commit is contained in:
rubidium
2007-03-06 22:00:42 +00:00
parent 68020bfa6d
commit a2b5b74b83
3 changed files with 13 additions and 0 deletions

View File

@@ -73,6 +73,7 @@ typedef struct CommandPacket {
/** Status of a client */
typedef enum {
STATUS_INACTIVE, ///< The client is not connected nor active
STATUS_AUTHORIZING,///< The client is authorizing
STATUS_AUTH, ///< The client is authorized
STATUS_MAP_WAIT, ///< The client is waiting as someone else is downloading the map
STATUS_MAP, ///< The client is downloading the map