summaryrefslogtreecommitdiffstats
path: root/include/pttstruct.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 16:16:38 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-16 16:16:38 +0800
commit1b162d305b32d23c79f7d483344167f86c2a7f59 (patch)
treec28eb082e20dc378e4197d108a58dacaecb6a261 /include/pttstruct.h
parent4a3e36dfe65197a898ae9bf9c328a483dfffbc18 (diff)
downloadpttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar.gz
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar.bz2
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar.lz
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar.xz
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.tar.zst
pttbbs-1b162d305b32d23c79f7d483344167f86c2a7f59.zip
- fix bug "good post dropped if user online"
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/pttstruct.h')
-rw-r--r--include/pttstruct.h18
1 files changed, 3 insertions, 15 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h
index 9042cfca..d7cb7500 100644
--- a/include/pttstruct.h
+++ b/include/pttstruct.h
@@ -172,6 +172,7 @@ typedef struct boardheader_t {
char pad3[47];
} boardheader_t;
+// TODO BRD 快爆了,怎麼辦? 準備從 pad3 偷一個來當 attr2 吧...
#define BRD_NOZAP 0x00000001 /* 不可zap */
#define BRD_NOCOUNT 0x00000002 /* 不列入統計 */
#define BRD_NOTRAN 0x00000004 /* 不轉信 */
@@ -311,7 +312,8 @@ typedef struct msgque_t {
#define ISNEWMAIL(utmp) utmp->alerts & ALERT_NEW_MAIL
#define ALERT_PWD_PERM 2
#define ALERT_PWD_BADPOST 4
-#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST)
+#define ALERT_PWD_GOODPOST 8
+#define ALERT_PWD (ALERT_PWD_PERM|ALERT_PWD_BADPOST|ALERT_PWD_GOODPOST)
/* user data in shm */
/* use GAP to detect and avoid data overflow and overriding */
typedef struct userinfo_t {
@@ -670,18 +672,4 @@ typedef struct {
} ocfs_t;
#endif
-// kcwu: for bug tracking
-/* not used right now */
-enum {
- F_VER,
- F_EDIT,
- F_MORE,
- F_WRITE_REQUEST,
- F_TALK_REQUEST,
- F_WATER,
- F_USERLIST,
- F_GEM,
-};
-
-
#endif