From f3156a5477c4ca44d6d64b9c5e4897e28ea936cf Mon Sep 17 00:00:00 2001 From: in2 Date: Tue, 14 Jun 2005 13:15:00 +0000 Subject: better readability. real => adminmode, HAS_PERM() => HasUserPerm(), HasPerm() => HasBoardPerm(). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2840 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/indict.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd/indict.c') diff --git a/mbbsd/indict.c b/mbbsd/indict.c index e8af6075..c5d530f2 100644 --- a/mbbsd/indict.c +++ b/mbbsd/indict.c @@ -74,7 +74,7 @@ use_dict(char *dict,char *database) int i = 0; setutmpmode(DICT); - if (!HAS_PERM(PERM_SYSOP)) + if (!HasUserPerm(PERM_SYSOP)) sys[0] = 0; clear(); @@ -109,7 +109,7 @@ use_dict(char *dict,char *database) more("etc/dict.hlp", YEA); clear(); continue; - } else if (word[0] == 'e' && HAS_PERM(PERM_SYSOP)) { + } else if (word[0] == 'e' && HasUserPerm(PERM_SYSOP)) { vedit(database, NA, NULL); clear(); continue; -- cgit v1.2.3