From 9c94a379cb7b1d079553e175539eb7473d2f438e Mon Sep 17 00:00:00 2001 From: wens Date: Sat, 20 Nov 2004 13:51:14 +0000 Subject: added vote board limits for BM using key 'C' fixed no mail alert when replying to board and mail git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2342 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/proto.h | 1 + include/pttstruct.h | 4 +++- 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/proto.h b/include/proto.h index a28e33ff..5f085190 100644 --- a/include/proto.h +++ b/include/proto.h @@ -667,6 +667,7 @@ int vice_main(void); /* voteboard */ int do_voteboard(int); void do_voteboardreply(fileheader_t *fhdr); +int do_votelimitedit(int ent, fileheader_t * fhdr, char *direct); /* xyz */ int m_sysop(void); diff --git a/include/pttstruct.h b/include/pttstruct.h index a0c8e140..19c53727 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -165,7 +165,9 @@ typedef struct boardheader_t { char BM[IDLEN * 3 + 3]; /* BMs' userid, token '/' */ unsigned int brdattr; /* board的屬性 */ char chesscountry; - char pad[3]; /* 沒用到的 */ + unsigned char limit_posts; /* 連署 : 文章篇數下限 */ + unsigned char limit_logins; /* 連署 : 登入次數下限 */ + char pad[1]; /* 沒用到的 */ time_t bupdate; /* note update time */ char pad2[3]; /* 沒用到的 */ unsigned char bvote; /* 正舉辦 Vote 數 */ -- cgit v1.2.3