summaryrefslogtreecommitdiff
path: root/src/network/core/tcp.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-03-06 22:00:42 +0000
committerrubidium <rubidium@openttd.org>2007-03-06 22:00:42 +0000
commita2b5b74b83e213f1e32e8f2cafe40f3527f018a5 (patch)
treea90b27beb2d4d1de059a5cdb393a6be2250d9dda /src/network/core/tcp.h
parent68020bfa6d8679087af98c36cdf9a2dade4a196b (diff)
downloadopenttd-a2b5b74b83e213f1e32e8f2cafe40f3527f018a5.tar.xz
(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.
Diffstat (limited to 'src/network/core/tcp.h')
-rw-r--r--src/network/core/tcp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp.h b/src/network/core/tcp.h
index 27df6e03d..a667ab099 100644
--- a/src/network/core/tcp.h
+++ b/src/network/core/tcp.h
@@ -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