summaryrefslogtreecommitdiffstats
path: root/include/uflags.h
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 21:06:28 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 21:06:28 +0800
commitef6481cca41aca3c247f845ef55a9b2cd491be65 (patch)
tree140b45a376365aa29c30cd0126afbf8edeea6ba2 /include/uflags.h
parent97e5db2272665daf9883e29b183a734daf9c79e6 (diff)
downloadpttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.gz
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.bz2
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.lz
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.xz
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.tar.zst
pttbbs-ef6481cca41aca3c247f845ef55a9b2cd491be65.zip
- definition and macro fix after sync with PTT1
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3640 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'include/uflags.h')
-rw-r--r--include/uflags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/uflags.h b/include/uflags.h
index 1686c98e..752dc73a 100644
--- a/include/uflags.h
+++ b/include/uflags.h
@@ -60,6 +60,7 @@
#define ANGEL_R_MAEL 0x00001000 /* true if reject male */
#define ANGEL_R_FEMAEL 0x00002000 /* true if reject female */
#define ANGEL_MASK 0x00003000
+#define REJECT_QUESTION (cuser.uflag2 & REJ_QUESTION)
#define ANGEL_STATUS() ((cuser.uflag2 & ANGEL_MASK) >> 12)
#define ANGEL_SET(X) (cuser.uflag2 = (cuser.uflag2 & ~ANGEL_MASK) | \
(((X) & 3) << 12))