summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-05 16:46:37 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-08-05 16:46:37 +0800
commit6144f08c59823125a03846035a9317229aa1312e (patch)
treeaa965ed776229aac19fb51b22274798fa6a58e7c
parent4f371a15c597440cacdd0b815294707ad824f22b (diff)
downloadpttbbs-6144f08c59823125a03846035a9317229aa1312e.tar
pttbbs-6144f08c59823125a03846035a9317229aa1312e.tar.gz
pttbbs-6144f08c59823125a03846035a9317229aa1312e.tar.bz2
pttbbs-6144f08c59823125a03846035a9317229aa1312e.tar.lz
pttbbs-6144f08c59823125a03846035a9317229aa1312e.tar.xz
pttbbs-6144f08c59823125a03846035a9317229aa1312e.tar.zst
pttbbs-6144f08c59823125a03846035a9317229aa1312e.zip
reject F222222222 as personalid
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2158 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 93c858e2..8decef77 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -914,7 +914,8 @@ ispersonalid(char *inid)
if( strcmp(id, "A100000001") == 0 ||
strcmp(id, "A200000003") == 0 ||
- strcmp(id, "A123456789") == 0 )
+ strcmp(id, "A123456789") == 0 ||
+ strcmp(id, "F222222222") == 0 )
return 0;
/* A->10, B->11, ..H->17,I->34, J->18... */
while (lst[i] != id[0])