diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-29 17:11:21 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-03-29 17:11:21 +0800 |
commit | aa420a10ffe8e81567c16b780acb32962851053e (patch) | |
tree | 5bf7db3381e49ab85f6886bd3dfeb853bfc0bccb /mbbsd/register.c | |
parent | dae5bcd0ce2aa49b654f76fcc6038667d40511bc (diff) | |
download | pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar.gz pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar.bz2 pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar.lz pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar.xz pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.tar.zst pttbbs-aa420a10ffe8e81567c16b780acb32962851053e.zip |
- (experimental) mask ip(fromhost): USE_MASKED_FROMHOST
- board: make 'w' (save_brc) more user friendly.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4039 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r-- | mbbsd/register.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index d78d2144..230c1d9a 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -1914,7 +1914,7 @@ regform2_validate_single() } // TODO check if user is already registered -#if 0 +#ifdef DBG_DRYRUN if (muser.userlevel & PERM_LOGINOK) { regfrm_delete(uid); @@ -2028,7 +2028,15 @@ regform2_validate_page(int dryrun) regq_delete(uid); continue; } - + + // TODO check if user is already registered +#ifdef DBG_DRYRUN + if (muser.userlevel & PERM_LOGINOK) + { + regfrm_delete(uid); + continue; + } +#endif // check if regform exists. if (!regfrm_exist(uid)) { |