summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-28 23:09:15 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-28 23:09:15 +0800
commitff4f367049df2ad17d4ecd5e63d765c9f361cb8d (patch)
treefe788f0ff5088744f1b6b7f2837dc316c2061f6d /mbbsd/user.c
parente3698abfb576cde09846fc735f4fda4dc6f48ba8 (diff)
downloadpttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar.gz
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar.bz2
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar.lz
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar.xz
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.tar.zst
pttbbs-ff4f367049df2ad17d4ecd5e63d765c9f361cb8d.zip
don't change any permission after the password is set.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2873 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index e8d3ee56..448664ec 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -882,7 +882,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
setuserid(unum, x.userid);
}
if (mail_changed) {
- x.userlevel &= ~(PERM_LOGINOK|PERM_POST);
+ x.userlevel &= ~(PERM_LOGINOK | PERM_POST);
email_justify(x);
}
memcpy(u, &x, sizeof(x));