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/admin.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/admin.c')
-rw-r--r-- | mbbsd/admin.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 4f45f181..654f045f 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -369,7 +369,7 @@ m_mod_board(char *bname) if (getbnum(genbuf)) { move(3, 0); outs("¿ù»~! ªO¦W¹p¦P"); - } else if (!invalid_brdname(genbuf)) { + } else if ( !invalid_brdname(genbuf) ){ strlcpy(newbh.brdname, genbuf, sizeof(newbh.brdname)); break; } @@ -426,7 +426,7 @@ m_mod_board(char *bname) clear(); } } - getdata_str(b_lines - 1, 0, msg_sure_ny, genbuf, 4, LCECHO, "Y"); + getdata_str(b_lines - 1, 0, msg_sure_ny, genbuf, 4, LCECHO, "N"); if ((*genbuf == 'y') && memcmp(&newbh, &bh, sizeof(bh))) { if (strcmp(bh.brdname, newbh.brdname)) { |