summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 5accfca2..7e3e11f8 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.97 2003/06/02 14:49:04 victor Exp $ */
+/* $Id: bbs.c,v 1.98 2003/06/22 14:39:34 in2 Exp $ */
#include "bbs.h"
static int recommend(int ent, fileheader_t * fhdr, char *direct);
@@ -465,6 +465,7 @@ do_general()
return FULLUPDATE;
}
#ifdef NO_WATER_POST
+#ifndef DEBUG /* why we need this in DEBUG mode? */
/* 三分鐘內最多發表五篇文章 */
if (currutmp->lastact - last_post_time < 60 * 3) {
if (water_counts >= 5) {
@@ -478,6 +479,7 @@ do_general()
water_counts = 0;
}
#endif
+#endif
setbfile(genbuf, currboard, FN_POST_NOTE);