summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 22:39:34 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-22 22:39:34 +0800
commit76b867082deb7b2c27d35393bfe438767caa61d0 (patch)
tree5ebf1a45d981b37911446eccf4d3da777c3c62c1 /mbbsd/bbs.c
parentb9ce7b753f71174cf7430c0ea84d1479fcd4d7c3 (diff)
downloadpttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar.gz
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar.bz2
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar.lz
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar.xz
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.tar.zst
pttbbs-76b867082deb7b2c27d35393bfe438767caa61d0.zip
remove post limit in DEBUG mode
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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);