diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-01 03:51:39 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-01 03:51:39 +0800 |
commit | 0f22ab6d1a36658633ab56eb1bf5b49575e57eb5 (patch) | |
tree | a6d2156c4cbe36fdea5472307ef42e1a1535a8e1 /mbbsd/bbs.c | |
parent | 42f15ae72e331813e4fe868fffc80f625b684671 (diff) | |
download | pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar.gz pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar.bz2 pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar.lz pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar.xz pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.tar.zst pttbbs-0f22ab6d1a36658633ab56eb1bf5b49575e57eb5.zip |
brdname must starts with an alphabetic character (not a number)
edit board default to abort
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1663 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 25899716..2eb97924 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -826,7 +826,7 @@ invalid_brdname(char *brd) register char ch; ch = *brd++; - if (not_alnum(ch)) + if (!isalpha(ch)) return 1; while ((ch = *brd++)) { if (not_alnum(ch) && ch != '_' && ch != '-' && ch != '.') |