summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-18 17:14:32 +0800
committerscw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-05-18 17:14:32 +0800
commitd00edbdbd10efdd918837b5958dba4577be59e84 (patch)
tree8fc451c3f5443deda2d4167056dc9cf3e8546e00 /mbbsd/mbbsd.c
parent36a55220bb41463b63308ea5b2c781bdfa453e9f (diff)
downloadpttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar.gz
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar.bz2
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar.lz
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar.xz
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.tar.zst
pttbbs-d00edbdbd10efdd918837b5958dba4577be59e84.zip
Many changes in structure.
Add sex restriction. git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1999 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 8fef76de..345b9ad6 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -771,8 +771,11 @@ setup_utmp(int mode)
#endif
if (enter_uflag & CLOAK_FLAG)
uinfo.invisible = YEA;
- if (cuser.uflag2 & BEING_ANGEL)
- uinfo.being_angel = 1;
+
+ if (REJECT_QUESTION)
+ uinfo.angel = 1;
+ uinfo.angel |= ANGEL_STATUS() << 1;
+
getnewutmpent(&uinfo);
SHM->UTMPneedsort = 1;
if (!(cuser.numlogins % 20) && cuser.userlevel & PERM_BM)