diff options
-rw-r--r-- | include/perm.h | 2 | ||||
-rw-r--r-- | mbbsd/var.c | 2 | ||||
-rw-r--r-- | util/bbsctl.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/include/perm.h b/include/perm.h index 71a6fdb3..9f88bf96 100644 --- a/include/perm.h +++ b/include/perm.h @@ -41,7 +41,7 @@ #define NUMPERMS 32 #define PERM_DEFAULT (PERM_BASIC | PERM_CHAT | PERM_PAGE ) -#define PERM_MANAGER (PERM_RELATION | PERM_SMG | PERM_ACTION | PERM_PAINT | PERM_LAW) +#define PERM_MANAGER (PERM_RELATION | PERM_ACCTREG | PERM_ACTION | PERM_PAINT | PERM_LAW) #define PERM_ADMIN (PERM_ACCOUNTS | PERM_SYSOP | PERM_SYSSUBOP | PERM_MANAGER | PERM_BM) #define PERM_ALLBOARD (PERM_SYSOP | PERM_BOARD) #define PERM_LOGINCLOAK (PERM_SYSOP | PERM_ACCOUNTS) diff --git a/mbbsd/var.c b/mbbsd/var.c index 70d8d38f..ff880155 100644 --- a/mbbsd/var.c +++ b/mbbsd/var.c @@ -31,7 +31,7 @@ char * const str_permid[] = { "觀察使用者行蹤", /* PERM_LOGUSER */ "禠奪公權", /* PERM_NOCITIZEN */ "公關組", /* PERM_RELATION */ - "帳號審核組", /* PERM_SMG */ + "帳號審核組", /* PERM_ACCTREG */ "程式組", /* PERM_PRG */ "活動組", /* PERM_ACTION */ "美工組", /* PERM_PAINT */ diff --git a/util/bbsctl.c b/util/bbsctl.c index 2b7aa274..d967a071 100644 --- a/util/bbsctl.c +++ b/util/bbsctl.c @@ -235,7 +235,7 @@ int permreport(int argc, char **argv) {PERM_SYSOP, "PERM_SYSOP"}, {PERM_ACCOUNTS, "PERM_ACCOUNTS"}, {PERM_SYSSUBOP, "PERM_SYSSUBOP"}, - {PERM_MANAGER, "PERM_MANAGER"}, + {PERM_ACCTREG, "PERM_ACCTREG"}, {0, NULL}}; if( (fd = open(".PASSWDS", O_RDONLY)) < 0 ){ |