summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-17 08:56:39 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-07-17 08:56:39 +0800
commitee0fcfc8fb094461d198ff965633401399f9ce33 (patch)
tree3abeba2615614c9ff4401e45440126da6bf26d9e
parentecb281f1ee77bbc3d1c99a9354a92b2d33ae614e (diff)
downloadpttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar.gz
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar.bz2
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar.lz
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar.xz
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.tar.zst
pttbbs-ee0fcfc8fb094461d198ff965633401399f9ce33.zip
register
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@1053 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index cd80d57b..1a8fd81d 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.67 2003/07/13 11:47:18 bbs Exp $ */
+/* $Id: user.c,v 1.68 2003/07/17 00:56:39 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -1080,7 +1080,7 @@ static char *isvalidname(char *rname)
char *rejectstr[] =
{"肥", "胖", "豬頭", "小白", "小明", "路人", "老王", "老李", "寶貝",
"先生", "師哥", "老頭", "小姊", "小姐", "美女", "小妹", "大頭",
- "公主", "同學", "寶寶", "公子", "大頭", NULL};
+ "公主", "同學", "寶寶", "公子", "大頭", "佚名", NULL};
if( removespace(rname) && rname[0] < 0 &&
strlen(rname) >= 4 &&
!HaveRejectStr(rname, rejectstr) &&
@@ -1107,7 +1107,7 @@ static char *isvalidcareer(char *career)
static char *isvalidaddr(char *addr)
{
char *rejectstr[] =
- {"地球", "銀河", "火星", NULL};
+ {"地球", "銀河", "火星", "附近", NULL};
if (!removespace(addr) || addr[0] > 0 || strlen(addr) < 15)
return "這個地址並不合法";