summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-13 14:31:38 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-13 14:31:38 +0800
commit7aa3580fa65b08c9032e8628c00c081ca1d1c9c3 (patch)
tree1b19e42e3fbd123cd15b98e033708397af28b84a /mbbsd/user.c
parentcd394a56028c2e701545b79138077c78e21a0aed (diff)
downloadpttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar.gz
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar.bz2
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar.lz
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar.xz
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.tar.zst
pttbbs-7aa3580fa65b08c9032e8628c00c081ca1d1c9c3.zip
- add 'del' in admin x_file
- add ASSESS confitional compile blocks Reported by watch@ptt/PttCurrent git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4154 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index b81143af..72e175a4 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -769,6 +769,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
if (getdata_str(y++, 0, "文章數目:", buf, 10, DOECHO, genbuf))
if ((tmp = atoi(buf)) >= 0)
x.numposts = tmp;
+#ifdef ASSESS
snprintf(genbuf, sizeof(genbuf), "%d", u->goodpost);
if (getdata_str(y++, 0, "優良文章數:", buf, 10, DOECHO, genbuf))
if ((tmp = atoi(buf)) >= 0)
@@ -777,6 +778,8 @@ uinfo_query(userec_t *u, int adminmode, int unum)
if (getdata_str(y++, 0, "惡劣文章數:", buf, 10, DOECHO, genbuf))
if ((tmp = atoi(buf)) >= 0)
x.badpost = tmp;
+#endif // ASSESS
+
snprintf(genbuf, sizeof(genbuf), "%d", u->vl_count);
if (getdata_str(y++, 0, "違法記錄:", buf, 10, DOECHO, genbuf))
if ((tmp = atoi(buf)) >= 0)