diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-11-16 00:51:33 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-11-16 00:51:33 +0800 |
commit | fafe4c7e70de4e770f6bf7f42306957330aaadea (patch) | |
tree | 204c1a4906a4482104adf096a6f85d7efafc70c3 /mbbsd/user.c | |
parent | 419924bb39cc1d1ef0cecb4bd904e90c564cadfa (diff) | |
download | pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.gz pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.bz2 pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.lz pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.xz pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.tar.zst pttbbs-fafe4c7e70de4e770f6bf7f42306957330aaadea.zip |
PERMISSION can be changed even if the user is online.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3241 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 12c8ce04..2cda7201 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -187,6 +187,8 @@ mail_violatelaw(const char *crime, const char *police, const char *reason, const fileheader_t fhdr; FILE *fp; + sendalert(crime, ALERT_RELOAD_PERM); + sethomepath(genbuf, crime); stampfile(genbuf, &fhdr); if (!(fp = fopen(genbuf, "w"))) |