summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 13:09:27 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-06-04 13:09:27 +0800
commit7197b9cd1f5da0c2af501ca6590a4594714be733 (patch)
tree3407cdfbc9b6eab6f740ba060553e9512706f50b
parent8e80f8dfbc1d07fbc951e654d1143e10c866d638 (diff)
downloadpttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar.gz
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar.bz2
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar.lz
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar.xz
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.tar.zst
pttbbs-7197b9cd1f5da0c2af501ca6590a4594714be733.zip
fix compile error when PLAY_ANGLE undefined
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 438a3294..d8f00251 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -780,7 +780,9 @@ setup_utmp(int mode)
if (REJECT_QUESTION)
uinfo.angel = 1;
+#ifdef PLAY_ANGEL
uinfo.angel |= ANGEL_STATUS() << 1;
+#endif
getnewutmpent(&uinfo);
SHM->UTMPneedsort = 1;