From 6f04849e866fd99841621ecfd91f3131e29df76e Mon Sep 17 00:00:00 2001 From: piaip Date: Fri, 22 Feb 2008 09:43:38 +0000 Subject: - more: should not able to change title in sysopedit. (rpt by daiYuTsung@PttBug#ptt2) git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3939 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/more.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/more.c b/mbbsd/more.c index 2cddc14c..94022854 100644 --- a/mbbsd/more.c +++ b/mbbsd/more.c @@ -24,7 +24,10 @@ int more(char *fpath, int promptend) log_filef("log/security", LOG_CREAT, "%u %24.24s %d %s admin edit file=%s\n", (int)now, ctime4(&now), getpid(), cuser.userid, fpath); - vedit(fpath, NA, NULL); + + // no need to allow anything... + // at least, no need to change title. + vedit2(fpath, NA, NULL, 0); break; case RET_COPY2TMP: -- cgit v1.2.3