diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-22 17:43:38 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2008-02-22 17:43:38 +0800 |
commit | 6f04849e866fd99841621ecfd91f3131e29df76e (patch) | |
tree | e54ada147140a58582da8f82a3833229298d7ffa | |
parent | d5cd744d2668d10997ece350808ecd4203e2ae22 (diff) | |
download | pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar.gz pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar.bz2 pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar.lz pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar.xz pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.tar.zst pttbbs-6f04849e866fd99841621ecfd91f3131e29df76e.zip |
- 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
-rw-r--r-- | mbbsd/more.c | 5 |
1 files changed, 4 insertions, 1 deletions
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: |