summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-23 00:46:07 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-23 00:46:07 +0800
commit5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4 (patch)
treef990be659446dbbb12b4c40007e2c1df5e1646a3 /mbbsd/bbs.c
parentcebbd253fddf7461279df3553fa9d28fd94b5ff2 (diff)
downloadpttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar.gz
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar.bz2
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar.lz
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar.xz
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.tar.zst
pttbbs-5cb3fc8c27e59770d4d75d6b1169fd28cd303fd4.zip
- prevent 'title' prompt in editing board_note
- allow sysop to always have post permission (found in cross post error) - both reported by daiYuTsung@ptt2 git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4236 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 8ff14cfe..f99ea0a8 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -3586,7 +3586,7 @@ b_note_edit_bname(int bid)
boardheader_t *fh = getbcache(bid);
assert(0<=bid-1 && bid-1<MAX_BOARD);
setbfile(buf, fh->brdname, fn_notes);
- aborted = vedit(buf, NA, NULL);
+ aborted = vedit2(buf, NA, NULL, 0);
if (aborted == -1) {
clear();
outs(msg_cancel);