diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 23:52:34 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-06-14 23:52:34 +0800 |
commit | 41157b4d4a7c4549b31f88b8ba483ca12c355e48 (patch) | |
tree | bc8d57066c64ba04e5d34148fb8a3e0e105d4fec /mbbsd/indict.c | |
parent | 36e0dbc04095da5fca4cad9e48f2b07fb1e220c5 (diff) | |
download | pttbbs-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/indict.c')
-rw-r--r-- | mbbsd/indict.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/indict.c b/mbbsd/indict.c index c5d530f2..a0504d61 100644 --- a/mbbsd/indict.c +++ b/mbbsd/indict.c @@ -15,7 +15,7 @@ addword(const char *database,char word[]) } fgets(buf, 130, fp); fseek(fp, 0, 2); - if (HAVE_PERM(PERM_LOGINOK)) { + if (HasUserPerm(PERM_LOGINOK)) { clear(); move(4, 0); outs(" " ANSI_COLOR(31) "警告" ANSI_RESET ":若蓄意填寫假資料將" ANSI_COLOR(36) "砍id" ANSI_RESET "處份\n"); |