diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-06 06:52:28 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-04-06 06:52:28 +0800 |
commit | 690882a4be349f90ee012b44591f931f9d10c477 (patch) | |
tree | 5d7bc7492c3f4c80293fc54dbe0de6a8c3eb7bce | |
parent | 6b49f6bc1bf86a9bfa61e34afda72387126e2f53 (diff) | |
download | pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar.gz pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar.bz2 pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar.lz pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar.xz pttbbs-690882a4be349f90ee012b44591f931f9d10c477.tar.zst pttbbs-690882a4be349f90ee012b44591f931f9d10c477.zip |
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1702 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c index 465a4195..5112efe0 100644 --- a/mbbsd/cache.c +++ b/mbbsd/cache.c @@ -475,7 +475,7 @@ demoney(int money) int moneyof(int uid) { /* ptt 改進金錢處理效率 */ - if(SHM->money[uid - 1] == -1) + if(SHM->money[uid - 1] < 0) { SHM->money[uid - 1] = passwd_query_money(uid); } |