diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-23 22:37:18 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-09-23 22:37:18 +0800 |
commit | 46318e907721f11256d245d42cd8e841e8765057 (patch) | |
tree | 18375c30f7d613818464343013f3046081586266 /include | |
parent | e84a29034ca2aaeedce5f2cd84e68264fb9a3b46 (diff) | |
download | pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar.gz pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar.bz2 pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar.lz pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar.xz pttbbs-46318e907721f11256d245d42cd8e841e8765057.tar.zst pttbbs-46318e907721f11256d245d42cd8e841e8765057.zip |
1. fix 1 make error
2. add perm_nocitizen
3. add no reply for FILE_SOLVE
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2210 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include')
-rw-r--r-- | include/config.h | 4 | ||||
-rw-r--r-- | include/perm.h | 4 | ||||
-rw-r--r-- | include/pttstruct.h | 2 |
3 files changed, 6 insertions, 4 deletions
diff --git a/include/config.h b/include/config.h index 7b05978c..14b14d03 100644 --- a/include/config.h +++ b/include/config.h @@ -45,6 +45,10 @@ #define MAX_GUEST_LIFE (3 * 24 * 60 * 60) #endif +#ifndef MAX_EDIT_LINE +#define MAX_EDIT_LINE 2048 /* 文章最長編輯長度 */ +#endif + #ifndef MAX_LIFE /* 最長使用者保留時間(秒) */ #define MAX_LIFE (120 * 24 * 60 * 60) #endif diff --git a/include/perm.h b/include/perm.h index d2788a59..cf838044 100644 --- a/include/perm.h +++ b/include/perm.h @@ -20,16 +20,14 @@ #define PERM_BBSADM 000000100000 /* BBSADM */ #define PERM_NOTOP 000000200000 /* 不列入排行榜 */ #define PERM_VIOLATELAW 000000400000 /* 違法通緝中 */ - #ifdef PLAY_ANGEL #define PERM_ANGEL 000001000000 /* 有資格擔任小天使 */ #endif #define OLD_PERM_NOOUTMAIL 000001000000 /* 不接受站外的信 */ - #define PERM_NOREGCODE 000002000000 /*不允許認證碼註冊*/ #define PERM_VIEWSYSOP 000004000000 /* 視覺站長 */ #define PERM_LOGUSER 000010000000 /* 觀察使用者行蹤 */ -#define PERM_ANNOUNCE 000020000000 /* 精華區總整理權 */ +#define PERM_NOCITIZEN 000020000000 /* 搋奪公權 */ #define PERM_RELATION 000040000000 /* 公關組 */ #define PERM_SMG 000100000000 /* 特務組 */ #define PERM_PRG 000200000000 /* 程式組 */ diff --git a/include/pttstruct.h b/include/pttstruct.h index 135967ee..f6803dcc 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -211,7 +211,7 @@ typedef struct fileheader_t { #define FILE_DIGEST 0x4 /* digest */ #define FILE_HOLD 0x8 /* unused */ #define FILE_BOTTOM 0x8 /* push_bottom */ -#define FILE_SOLVED 0x10 /* problem solved, sysop only */ +#define FILE_SOLVED 0x10 /* problem solved, don't reply, sysop/BM only */ #define FILE_HIDE 0x20 /* hild */ #define FILE_BM 0x40 /* BM only */ #define FILE_MULTI 0x100 /* multi send for mail */ |