summaryrefslogtreecommitdiffstats
path: root/util/showboard.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-25 21:22:38 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-25 21:22:38 +0800
commit00f1e5a84015dac18d4b66f51cd0284afb552be5 (patch)
treeea20f6a42fdec9703c092c67026973a3942f7e78 /util/showboard.c
parent2f63f3e91fd9acfa1fdc0d7aa17d172d7c3f9ed4 (diff)
downloadpttbbs-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/showboard.c')
-rw-r--r--util/showboard.c1
1 files changed, 0 insertions, 1 deletions
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);