diff options
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r-- | mbbsd/friend.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/friend.c b/mbbsd/friend.c index 3d2898b4..04f2a395 100644 --- a/mbbsd/friend.c +++ b/mbbsd/friend.c @@ -136,7 +136,7 @@ friend_append(int type, int count) ++j; prints(" (%d) %-s\n", j, friend_list[(int)i]); } - if (HAVE_PERM(PERM_SYSOP) || currmode & MODE_BOARD) + if (HasUserPerm(PERM_SYSOP) || currmode & MODE_BOARD) for (; i < 8; ++i) if (i != type) { ++j; @@ -152,7 +152,7 @@ friend_append(int type, int count) j = buf[0] - '1'; if (j >= type) j++; - if (!(HAVE_PERM(PERM_SYSOP) || currmode & MODE_BOARD) && j >= 5) + if (!(HasUserPerm(PERM_SYSOP) || currmode & MODE_BOARD) && j >= 5) return; } while (buf[0] < '1' || buf[0] > '9'); |