summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 13:36:03 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-23 13:36:03 +0800
commit566c210f2b2f650e15569dc263b113710636eec9 (patch)
tree57c86c9a158d38b151748aa7e5a19c6d4ce5e710 /mbbsd/register.c
parent256c65c5b93d4213540676a42c81744b0ffeb7d8 (diff)
downloadpttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.gz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.bz2
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.lz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.xz
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.tar.zst
pttbbs-566c210f2b2f650e15569dc263b113710636eec9.zip
* use SAFE_ARTICLE_DELETE even if nuser < 30
* because we can make rich UI to allow leaving delete reasons in this mode * also because it's stupid to determine by magic 30 * changed board name UnAnonymous to macro in config.h git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4762 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index ea9f546a..5b278584 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -706,7 +706,9 @@ new_register(void)
else if (reserved_user_id(passbuf))
outs("此代號已由系統保留,請使用別的代號\n");
#if !defined(NO_CHECK_AMBIGUOUS_USERID) && defined(USE_REGCHECKD)
- else if (regcheck_ambiguous_userid_exist(passbuf) > 0) // ignore if error occurs
+ // XXX if we check id == 0 here, replacing an expired id will be delayed.
+ else if (/*id == 0 && */
+ regcheck_ambiguous_userid_exist(passbuf) > 0) // ignore if error occurs
outs("此代號過於近似它人帳號,請改用別的代號。\n");
#endif
else // success