summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-08-10 23:14:15 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-08-10 23:14:15 +0800
commitbd514ad93ef790471cfcd81642831579ddadfc60 (patch)
tree63c153ecf49934260c6e5dd32fcd664d3a18af3f
parentccf7eb12dd1b44b93d7764e3cb799368a2ffe22e (diff)
downloadpttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar.gz
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar.bz2
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar.lz
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar.xz
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.tar.zst
pttbbs-bd514ad93ef790471cfcd81642831579ddadfc60.zip
fix compile error if no ASSESS.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5694 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/user.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/user.c b/pttbbs/mbbsd/user.c
index 30e5343c..c9d046f7 100644
--- a/pttbbs/mbbsd/user.c
+++ b/pttbbs/mbbsd/user.c
@@ -1178,7 +1178,11 @@ uinfo_query(const char *orig_uid, int adminmode, int unum)
return;
case '8':
+#ifdef ASSESS
reassign_badpost(x.userid);
+#else
+ vmsg("本站目前不支援劣文設定。");
+#endif
return;
default: