diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-24 11:13:52 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-24 11:13:52 +0800 |
commit | eb5c071f4beecf378262ad7d668f7be00e42349f (patch) | |
tree | 44bc4ee0b5e2fe1776dcddad3426235cc509da68 /mbbsd/user.c | |
parent | 5bdce8c576bfb0bc0d997f8524f43d1adf1401c7 (diff) | |
download | pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar.gz pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar.bz2 pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar.lz pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar.xz pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.tar.zst pttbbs-eb5c071f4beecf378262ad7d668f7be00e42349f.zip |
fix bug of email justify
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2865 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index c88d26d9..0bb49f4a 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -787,10 +787,7 @@ uinfo_query(userec_t *u, int adminmode, int unum) } memcpy(u, &x, sizeof(x)); if (mail_changed) { -#ifdef EMAIL_JUSTIFY x.userlevel &= ~PERM_LOGINOK; - mail_justify(); -#endif } if (i == QUIT) { char src[STRLEN], dst[STRLEN]; @@ -1049,6 +1046,7 @@ removespace(char *s) return index; } + static char * getregcode(unsigned char *buf) { @@ -1113,6 +1111,7 @@ _debug_testregcode() } #endif + static int isvalidemail(const char *email) { @@ -1245,7 +1244,6 @@ toregister(char *email, char *genbuf, char *phone, char *career, strncpy(cuser.justify, genbuf, REGLEN); sethomefile(buf, cuser.userid, "justify"); } - /* * It is intended to use BBSENAME instead of BBSNAME here. * Because recently many poor users with poor mail clients |