diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 21:22:38 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-08-25 21:22:38 +0800 |
commit | 00f1e5a84015dac18d4b66f51cd0284afb552be5 (patch) | |
tree | ea20f6a42fdec9703c092c67026973a3942f7e78 /util | |
parent | 2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4 (diff) | |
download | pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar.gz pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar.bz2 pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar.lz pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar.xz pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.tar.zst pttbbs-00f1e5a84015dac18d4b66f51cd0284afb552be5.zip |
* remove numlogin from vote/post restriction (confirmed by SYSOPs)
* reason: this variable can be easily cheated by bots and hard to detect/avoid.
* this can be replaced by regtime (or, count of 'days' that logged in).
* we also plan to remove all references to numlogins in future because it's hard to be kept on web-forum systems.
* also refined code layout in pttstruct.h
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4774 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util')
-rw-r--r-- | util/shmctl.c | 1 | ||||
-rw-r--r-- | util/showboard.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/util/shmctl.c b/util/shmctl.c index 3372d9f0..39c0fdbd 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -664,7 +664,6 @@ int listbrd(int argc, char **argv) printf("\n"); printf("post_limit_posts:\t%d\n", b.post_limit_posts); - printf("post_limit_logins:\t%d\n", b.post_limit_logins); printf("post_limit_regtime:\t%d\n", b.post_limit_regtime); printf("level:\t%d\n", b.level); printf("gid:\t%d\n", b.gid); diff --git a/util/showboard.c b/util/showboard.c index 41627cfe..8e18ae2d 100644 --- a/util/showboard.c +++ b/util/showboard.c @@ -68,7 +68,6 @@ int main(int argc, char *argv[]) printf("BM:\t%s\n", b.BM); printf("brdattr:\t%08x\n", b.brdattr); printf("post_limit_posts:\t%d\n", b.post_limit_posts); - printf("post_limit_logins:\t%d\n", b.post_limit_logins); printf("post_limit_regtime:\t%d\n", b.post_limit_regtime); printf("level:\t%d\n", b.level); printf("gid:\t%d\n", b.gid); |