From 1b162d305b32d23c79f7d483344167f86c2a7f59 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 16 Dec 2007 08:16:38 +0000 Subject: - fix bug "good post dropped if user online" git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- include/pttstruct.h | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) (limited to 'include/pttstruct.h') 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 -- cgit v1.2.3