summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 01:36:57 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 01:36:57 +0800
commitdefbdb6544e58ade4316af4a2e003568d34aa6a1 (patch)
treebc81167a8805590feaf2c65961a8ef2ad4994c93 /mbbsd/bbs.c
parent5166f31cd61af5481f3a418e761368e643230f38 (diff)
downloadpttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.gz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.bz2
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.lz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.xz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.zst
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.zip
1. add "cancel bad post" feature.
2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index a3254707..965eb0fd 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -2483,6 +2483,7 @@ del_post(int ent, fileheader_t * fhdr, char *direct)
xuser.userlevel |= PERM_VIOLATELAW;
passwd_update(tusernum, &xuser);
}
+ sendalert(userid, ALERT_PWD_BADPOST);
mail_id(userid, genbuf, newpath, cuser.userid);
#ifdef BAD_POST_RECORD