summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 "這個地址並不合法";