diff options
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 */ |