From 76b867082deb7b2c27d35393bfe438767caa61d0 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 22 Jun 2003 14:39:34 +0000 Subject: remove post limit in DEBUG mode git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@956 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { @@ -477,6 +478,7 @@ do_general() last_post_time = currutmp->lastact; water_counts = 0; } +#endif #endif setbfile(genbuf, currboard, FN_POST_NOTE); -- cgit v1.2.3