summaryrefslogtreecommitdiffstats
path: root/mbbsd/pmore.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/pmore.c')
-rw-r--r--mbbsd/pmore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/pmore.c b/mbbsd/pmore.c
index ea28a41d..413cac64 100644
--- a/mbbsd/pmore.c
+++ b/mbbsd/pmore.c
@@ -2122,7 +2122,7 @@ pmore(char *fpath, int promptend)
case 'E':
// admin edit any files other than ve help file
- if (HAS_PERM(PERM_SYSOP) && strcmp(fpath, "etc/ve.hlp")) {
+ if (HasUserPerm(PERM_SYSOP) && strcmp(fpath, "etc/ve.hlp")) {
mf_detach();
vedit(fpath, NA, NULL);
REENTRANT_RESTORE();