diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 16:52:46 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-18 16:52:46 +0800 |
commit | 63d1fd611bc531eeadb5fbd0dd18055c70b710c8 (patch) | |
tree | 18d80cb3bd3ce8e0c77e6fa8c5f70f7f0cbabb58 | |
parent | 50584f9c86536defe77b96f31479619f29fe9eff (diff) | |
download | pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar.gz pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar.bz2 pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar.lz pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar.xz pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.tar.zst pttbbs-63d1fd611bc531eeadb5fbd0dd18055c70b710c8.zip |
allow setting go chess country on new board
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3189 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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 b4221b75..74efe5a5 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -564,7 +564,7 @@ m_mod_board(char *bname) #ifdef CHESSCOUNTRY if (HasUserPerm(PERM_SYSOP)) { snprintf(genbuf, sizeof(genbuf), "%d", bh.chesscountry); - if (getdata_str(16, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋 (3) 圍棋", ans, + if (getdata_str(16, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋 (3)圍棋", ans, sizeof(ans), LCECHO, genbuf)){ newbh.chesscountry = atoi(ans); if (newbh.chesscountry > CHESSCODE_MAX || @@ -878,7 +878,7 @@ m_newbrd(int whatclass, int recover) newboard.level = 0; getdata(11, 0, "板主名單:", newboard.BM, sizeof(newboard.BM), DOECHO); #ifdef CHESSCOUNTRY - if (getdata_str(12, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋", ans, + if (getdata_str(12, 0, "設定棋國 (0)無 (1)五子棋 (2)象棋 (3)圍棋", ans, sizeof(ans), LCECHO, "0")){ newboard.chesscountry = atoi(ans); if (newboard.chesscountry > CHESSCODE_MAX || |