diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-07-25 23:17:18 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-07-25 23:17:18 +0800 |
commit | e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde (patch) | |
tree | 1ba549a3702ad232a795c1527ef73fdf274eebe5 /include/pttstruct.h | |
parent | 540472d231db4088e050b32737dee45f3ed07235 (diff) | |
download | pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar.gz pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar.bz2 pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar.lz pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar.xz pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.tar.zst pttbbs-e8b7db8875e3cba60b0ec8742b0cb7cc63c0bbde.zip |
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
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r-- | include/pttstruct.h | 6 |
1 files changed, 4 insertions, 2 deletions
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? */ |