summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/admin.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index c5d94ca6..cab03ee4 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -219,7 +219,6 @@ unsigned int
setperms(unsigned int pbits, char *pstring[])
{
register int i;
- char choice[4];
move(4, 0);
for (i = 0; i < NUMPERMS / 2; i++) {
@@ -236,7 +235,7 @@ setperms(unsigned int pbits, char *pstring[])
{
i = i - 'a';
if (i < 0)
- i = choice[0] - '0' + 26;
+ i = i + 'a' - '0' + 26;
if (i >= NUMPERMS)
bell();
else {