diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 21:10:43 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-05-08 21:10:43 +0800 |
commit | 6c05e1b497724b5dd4a7f078438d863b5baaa359 (patch) | |
tree | fadb87faaaf80a583c0db0500c38576b623ebee3 /mbbsd | |
parent | 8e58330c9b25c0eff6d803567a612c49e889509e (diff) | |
download | pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar.gz pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar.bz2 pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar.lz pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar.xz pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.tar.zst pttbbs-6c05e1b497724b5dd4a7f078438d863b5baaa359.zip |
- register: fixed: page mode validation treated all user as "D" (non-exist).
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4281 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/register.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index 845bbab1..1bb2fb7b 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -2010,7 +2010,6 @@ regform2_validate_single(const char *xuid) int regform2_validate_page(int dryrun) { - int unum = 0; int yMsg = FORMS_IN_PAGE*2+1; RegformEntry forms [FORMS_IN_PAGE]; char ans [FORMS_IN_PAGE]; @@ -2069,7 +2068,6 @@ regform2_validate_page(int dryrun) move(i*2, 0); prints(" %2d%s %s%-12s " ANSI_RESET, i+1, - (unum == 0) ? ANSI_COLOR(1;31) "D" : ( (forms[i].u.userlevel & PERM_LOGINOK) ? ANSI_COLOR(1;33) "Y" : #ifdef REGFORM_DISABLE_ONLINE_USER |