diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-13 23:43:44 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-13 23:43:44 +0800 |
commit | 747104a997297c7531d5e2aa637125836e28d2c8 (patch) | |
tree | dacc490f2e1dfa9658c262f3f3ac100ce645351f /mbbsd/user.c | |
parent | 8ecd8bddde9a768e94096f68ac25dd3bf6adf589 (diff) | |
download | pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar.gz pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar.bz2 pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar.lz pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar.xz pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.tar.zst pttbbs-747104a997297c7531d5e2aa637125836e28d2c8.zip |
- SRexpire: enable expiring search cache records
- EDITFLAG_ALLOWTITLE: prevent editor to prompt for non-changable titles
- user: general message fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3912 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index fd8dfdd2..cfe9b998 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -1783,8 +1783,8 @@ u_register(void) inregcode, sizeof(inregcode), DOECHO); if( strcmp(inregcode, "x") == 0 || strcmp(inregcode, "X") == 0 ) break; - if( strlen(inregcode) != 13 ) - vmsg("認證碼輸入不完整,應該一共有十三碼。"); + if( strlen(inregcode) != 13 || inregcode[0] == ' ') + vmsg("認證碼輸入不完整,總共應有十三碼,沒有空白字元。"); else if( inregcode[0] != 'v' || inregcode[1] != '6' ) { /* old regcode */ vmsg("輸入的認證碼錯誤或因系統昇級已失效," |