From 746139752a35414334f9d29b29f489a738bb7b75 Mon Sep 17 00:00:00 2001 From: kcwu Date: Wed, 10 Jun 2009 16:48:07 +0000 Subject: * add is_valid_brdname() to cmbbs git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4554 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/voteboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mbbsd/voteboard.c') 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("本名稱已經存在"); -- cgit v1.2.3