summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-24 17:13:19 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-09-24 17:13:19 +0800
commit469c7bfd4e5f31b35ef154f831cb3a4246c81530 (patch)
treed234467024d836d564bad76ed7d5c748737d327e /mbbsd/user.c
parent8a4d2b2da80ecdff7f71a48f85d8cbb81f53d548 (diff)
downloadpttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.gz
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.bz2
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.lz
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.xz
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.tar.zst
pttbbs-469c7bfd4e5f31b35ef154f831cb3a4246c81530.zip
1. Lock post for police and BM
2. BM and Police can set board cool down 3. All post posted by new account (<14 days) will show in NEWIDPOST board. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3427 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 1b55d127..fd9a235b 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -301,6 +301,7 @@ violate_law(userec_t * u, int unum)
} else {
kick_all(u->userid);
u->userlevel |= PERM_VIOLATELAW;
+ u->timeviolatelaw = now;
u->vl_count++;
passwd_update(unum, u);
post_violatelaw(u->userid, cuser.userid, reason, "»@³æ³B¥÷");