diff options
-rw-r--r-- | mbbsd/register.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c index 5ef02f4a..a138a4c3 100644 --- a/mbbsd/register.c +++ b/mbbsd/register.c @@ -1,4 +1,4 @@ -/* $Id: register.c,v 1.9 2002/07/22 19:02:00 in2 Exp $ */ +/* $Id: register.c,v 1.10 2002/11/30 04:51:13 in2 Exp $ */ #define _XOPEN_SOURCE #include "bbs.h" @@ -60,6 +60,10 @@ bad_user_id(char *userid) if (strcasecmp(userid, str_new) == 0) return 1; + if (strcasestr(userid, "fuck") != NULL || + strcasestr(userid, "shit") != NULL ) + return 1; + /* * while((ch = *(++userid))) if(not_alnum(ch)) return 1; */ |