diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 21:15:00 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 21:15:00 +0800 |
commit | f3156a5477c4ca44d6d64b9c5e4897e28ea936cf (patch) | |
tree | 6058087f3876a652d0a9b7814a3c100615448f6d /mbbsd/indict.c | |
parent | c87da8855f7f3edcd1fba6578a2c3f809cad8dc8 (diff) | |
download | pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.gz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.bz2 pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.lz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.xz pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.tar.zst pttbbs-f3156a5477c4ca44d6d64b9c5e4897e28ea936cf.zip |
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
Diffstat (limited to 'mbbsd/indict.c')
-rw-r--r-- | mbbsd/indict.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; |