summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/cache.c2
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);
}