From 6c05e1b497724b5dd4a7f078438d863b5baaa359 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 8 May 2008 13:10:43 +0000 Subject: - 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 --- mbbsd/register.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'mbbsd') 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 -- cgit v1.2.3