diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-30 17:45:20 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-30 17:45:20 +0800 |
commit | c63dc5430871a83c6aca0e1342c693dce7d8e6db (patch) | |
tree | d8b35f10e69335c6b566efee718f8508f0641e02 /mbbsd | |
parent | 137fddca112a5ad5defc0f0270de7b1e25311fdc (diff) | |
download | pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar.gz pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar.bz2 pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar.lz pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar.xz pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.tar.zst pttbbs-c63dc5430871a83c6aca0e1342c693dce7d8e6db.zip |
* forgot to modify vote limitation creation for numlogin
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4798 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/vote.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 8eb2c756..b3900bca 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -646,11 +646,9 @@ vote_maintain(const char *bname) closetime = atoi(inbuf); // borrow variable } while (closetime < 0 || closetime > 120); fprintf(fp, "%d\n", now - (MONTH_SECONDS * closetime)); - do { - getdata(6, 0, "上站次數下限", inbuf, 6, DOECHO); - closetime = atoi(inbuf); // borrow variable - } while (closetime < 0); - fprintf(fp, "%d\n", closetime); + + fprintf(fp, "%d\n", 0); // was: numlogins + do { getdata(6, 0, "文章篇數下限", inbuf, 6, DOECHO); closetime = atoi(inbuf); // borrow variable |