diff options
author | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-21 13:01:33 +0800 |
---|---|---|
committer | lwms <lwms@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-05-21 13:01:33 +0800 |
commit | ed249a9ffd807b4e93c7e60032ca4842a48f2fc3 (patch) | |
tree | 1b88f8101fcf52f1443e1745758604b3ab03a557 /mbbsd | |
parent | 08e0eaf4f3b777285f30a9f870d2d2468ca1e50f (diff) | |
download | pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar.gz pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar.bz2 pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar.lz pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar.xz pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.tar.zst pttbbs-ed249a9ffd807b4e93c7e60032ca4842a48f2fc3.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@184 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/admin.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index e7c51f3f..a076c10f 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.12 2002/05/16 21:54:56 in2 Exp $ */ +/* $Id: admin.c,v 1.13 2002/05/21 05:01:33 lwms Exp $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> @@ -1093,19 +1093,21 @@ int give_money() { id = uhash->userid[i]; give_id_money(id, money, fp2, tt, now); } + give_money_post("全站使用者", atoi(mn) ); } else { if(!(fp = fopen("etc/givemoney.txt", "r+"))) { fclose(fp2); return 1; } while(fgets(buf, 255, fp)) { -// clear(); + clear(); if (!(ptr = strchr(buf, ':'))) continue; *ptr = '\0'; id = buf; mn = ptr + 1; - give_id_money(id, atoi(mn), fp2, tt, now); + give_id_money(id, atoi(mn), fp2, tt, t); + give_money_post(id, atoi(mn) ); } fclose(fp); } |