summaryrefslogtreecommitdiffstats
path: root/mbbsd/friend.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-14 23:52:34 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-14 23:52:34 +0800
commit41157b4d4a7c4549b31f88b8ba483ca12c355e48 (patch)
treebc8d57066c64ba04e5d34148fb8a3e0e105d4fec /mbbsd/friend.c
parent36e0dbc04095da5fca4cad9e48f2b07fb1e220c5 (diff)
downloadpttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.gz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.bz2
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.lz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.xz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.zst
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.zip
merge HAVE_PERM() into HasUserPerm()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/friend.c')
-rw-r--r--mbbsd/friend.c4
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');