diff options
-rw-r--r-- | mbbsd/pmore.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c index d71fd1ee..e5ba2161 100644 --- a/mbbsd/pmore.c +++ b/mbbsd/pmore.c @@ -2178,7 +2178,9 @@ pmore(char *fpath, int promptend) case 'E': // admin edit any files other than ve help file - if (HasUserPerm(PERM_SYSOP) && strcmp(fpath, "etc/ve.hlp")) { + // and posts in Security board + if (HasUserPerm(PERM_SYSOP) && strcmp(fpath, "etc/ve.hlp") && + strcmp(currboard, "Security")){ mf_detach(); vedit(fpath, NA, NULL); REENTRANT_RESTORE(); |