diff options
author | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-11 00:48:07 +0800 |
---|---|---|
committer | kcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-11 00:48:07 +0800 |
commit | 746139752a35414334f9d29b29f489a738bb7b75 (patch) | |
tree | 0b875210b7e05b5e5e3a9f8e242a996208725819 /mbbsd/voteboard.c | |
parent | 1b1142e4431812346c0d49e9581b6c1a964e949d (diff) | |
download | pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar.gz pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar.bz2 pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar.lz pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar.xz pttbbs-746139752a35414334f9d29b29f489a738bb7b75.tar.zst pttbbs-746139752a35414334f9d29b29f489a738bb7b75.zip |
* add is_valid_brdname() to cmbbs
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/voteboard.c')
-rw-r--r-- | mbbsd/voteboard.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/voteboard.c b/mbbsd/voteboard.c index 8badcf0f..1cc08bb5 100644 --- a/mbbsd/voteboard.c +++ b/mbbsd/voteboard.c @@ -242,7 +242,7 @@ do_voteboard(int type) do { if (!getdata(7, 0, "請輸入看板英文名稱:", topic, IDLEN + 1, DOECHO)) return FULLUPDATE; - else if (invalid_brdname(topic)) + else if (!is_valid_brdname(topic)) outs("不是正確的看板名稱"); else if (getbnum(topic) > 0) outs("本名稱已經存在"); |