diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-29 15:55:51 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-02-29 15:55:51 +0800 |
commit | 4d1d40e94f273af30d4ca56477bf69132f5294a0 (patch) | |
tree | 9da02ab81063c61b6635ad5fac652d471c7ec7af | |
parent | f0c191c96fa0036a7af7d54681f06e294fe028c8 (diff) | |
download | pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar.gz pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar.bz2 pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar.lz pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar.xz pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.tar.zst pttbbs-4d1d40e94f273af30d4ca56477bf69132f5294a0.zip |
turn up the vote duration
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1571 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/vote.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/vote.c b/mbbsd/vote.c index 0f4a26e6..fa2a52e6 100644 --- a/mbbsd/vote.c +++ b/mbbsd/vote.c @@ -738,13 +738,13 @@ vote_maintain(char *bname) unlink(buf); } clear(); - getdata(0, 0, "此次投票進行幾天 (一到十天)?", inbuf, 4, DOECHO); + getdata(0, 0, "此次投票進行幾天 (一到三十天)?", inbuf, 4, DOECHO); closetime = atoi(inbuf); if (closetime <= 0) closetime = 1; - else if (closetime > 10) - closetime = 10; + else if (closetime > 30) + closetime = 30; closetime = closetime * 86400 + now; setbfile(buf, bname, STR_new_control); |