From e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde Mon Sep 17 00:00:00 2001 From: wens Date: Tue, 25 Jul 2006 15:17:18 +0000 Subject: add badposts as post/vote limit show post limits on board config git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3386 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/pttstruct.h b/include/pttstruct.h index 6ee1d3ee..c2eb86b5 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -199,7 +199,9 @@ typedef struct boardheader_t { char posttype[33]; char posttype_f; unsigned char fastrecommend_pause; /* 快速連推間隔 */ - char pad3[49]; + unsigned char vote_limit_badpost; /* 連署 : 劣文上限 */ + unsigned char post_limit_badpost; /* 發表文章 : 劣文上限 */ + char pad3[47]; } boardheader_t; /* 下面是八進位喔 */ @@ -263,7 +265,7 @@ typedef struct fileheader_t { unsigned char posts; unsigned char logins; unsigned char regtime; - unsigned char pad[1]; + unsigned char badpost; } vote_limits; struct { /* is this ordering correct? */ -- cgit v1.2.3