summaryrefslogtreecommitdiffstats
path: root/mbbsd/assess.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-28 22:22:26 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-28 22:22:26 +0800
commit33b6b249ea1b77005a6d2af64111899e2de6791f (patch)
tree694422c54e330b57db033d64dec600d6320690c4 /mbbsd/assess.c
parent8ace171c5c279b69e105a76a27f33d144a6e6db0 (diff)
downloadpttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar.gz
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar.bz2
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar.lz
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar.xz
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.tar.zst
pttbbs-33b6b249ea1b77005a6d2af64111899e2de6791f.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1271 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/assess.c')
-rw-r--r--mbbsd/assess.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c
index 707e221e..6797f64d 100644
--- a/mbbsd/assess.c
+++ b/mbbsd/assess.c
@@ -26,9 +26,9 @@ void inc_badpost(int uid, int num)
inc(&xuser.badpost, num);
if(!(xuser.badpost % 10))
{
- post_violatelaw(xcuser.userid, "Ptt 系統警察", "劣文累計十篇", "罰單一張");
- mail_violatelaw(xcuser.userid, "Ptt 系統警察", "劣文累計十篇", "罰單一張");
- xcuser.userlevel |= PERM_VIOLATELAW;
+ post_violatelaw(xuser.userid, "Ptt 系統警察", "劣文累計十篇", "罰單一張");
+ mail_violatelaw(xuser.userid, "Ptt 系統警察", "劣文累計十篇", "罰單一張");
+ xuser.userlevel |= PERM_VIOLATELAW;
}
passwd_update(uid, &xuser);
}