summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 10:39:32 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-06-27 10:39:32 +0800
commit202b3c3233d7185ed46ceb000dd9a9450d36824a (patch)
tree7a6bff7a6c6663f47f7c232ed5a7bd64509d8dcb /mbbsd/user.c
parent2159dfa03131c3c8fc4578c2eca4d4a86f3fd17d (diff)
downloadpttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar.gz
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar.bz2
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar.lz
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar.xz
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.tar.zst
pttbbs-202b3c3233d7185ed46ceb000dd9a9450d36824a.zip
register
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@978 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 5b164c19..6772500d 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1,4 +1,4 @@
-/* $Id: user.c,v 1.63 2003/06/26 01:33:01 in2 Exp $ */
+/* $Id: user.c,v 1.64 2003/06/27 02:39:32 in2 Exp $ */
#include "bbs.h"
static char *sex[8] = {
@@ -1050,7 +1050,7 @@ static int HaveRejectStr(char *s, char **rej)
int i;
char *rejectstr[] =
{"幹", "阿", "ㄚ", "不", "你媽", "某", "笨", "呆", "..", "xx",
- "你管", "管我", "猜", NULL};
+ "你管", "管我", "猜", "天才", "超人", NULL};
if( rej != NULL )
for( i = 0 ; rej[i] != NULL ; ++i )
@@ -1067,7 +1067,8 @@ static char *isvalidname(char *rname)
{
char *rejectstr[] =
{"肥", "胖", "豬頭", "小白", "小明", "路人", "老王", "老李", "寶貝",
- "先生", "師哥", "老頭", "小姊", "小姐", "美女", "小妹", "大頭", NULL};
+ "先生", "師哥", "老頭", "小姊", "小姐", "美女", "小妹", "大頭",
+ "公主", NULL};
if( removespace(rname) && rname[0] < 0 &&
strlen(rname) >= 4 &&
!HaveRejectStr(rname, rejectstr) &&