From 1819e27114ef774152ce9d50cfc8b9f00fda526c Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 25 Jun 2002 23:55:01 +0000 Subject: MULTI_SERVER, nusers[] git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/pttstruct.h') diff --git a/include/pttstruct.h b/include/pttstruct.h index 5a742150..959e7fe0 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -1,4 +1,4 @@ -/* $Id: pttstruct.h,v 1.17 2002/06/23 03:33:25 ptt Exp $ */ +/* $Id: pttstruct.h,v 1.18 2002/06/25 23:55:01 in2 Exp $ */ #ifndef INCLUDE_STRUCT_H #define INCLUDE_STRUCT_H @@ -246,6 +246,9 @@ typedef struct userinfo_t { int sex; char color; int mind; +#ifdef MULTI_SERVER + char hostid; +#endif } userinfo_t; typedef struct water_t { @@ -325,6 +328,7 @@ typedef struct { time_t Btouchtime; int Bnumber; int Bbusystate; + short nusers[MAX_BOARD]; char gap2[1024]; /* avoid some memory error / buffer overflow */ /* pttcache */ -- cgit v1.2.3