summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-14 01:22:24 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-14 01:22:24 +0800
commitf715bcd9a6d743533b4a3df8bc526322a84fd61e (patch)
tree6a650c2b18ef58e7fd75b9d2fc4134593fa82aa7
parent0341ae1333659a7cfea73dddd9f3f6d626cf755d (diff)
downloadpttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar.gz
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar.bz2
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar.lz
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar.xz
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.tar.zst
pttbbs-f715bcd9a6d743533b4a3df8bc526322a84fd61e.zip
* enable some variables again for the tools
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4839 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/util/shmctl.c1
-rw-r--r--pttbbs/util/showboard.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/util/shmctl.c b/pttbbs/util/shmctl.c
index 39c0fdbd..3372d9f0 100644
--- a/pttbbs/util/shmctl.c
+++ b/pttbbs/util/shmctl.c
@@ -664,6 +664,7 @@ 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/pttbbs/util/showboard.c b/pttbbs/util/showboard.c
index 8e18ae2d..41627cfe 100644
--- a/pttbbs/util/showboard.c
+++ b/pttbbs/util/showboard.c
@@ -68,6 +68,7 @@ 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);