summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-07 05:35:23 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2002-06-07 05:35:23 +0800
commite8fc08b9800ba86163e5bf43469cdc9f4b478b13 (patch)
treeeb2dcd75cad19ac57b7e9d9cc29c63a850d8ad86 /mbbsd/admin.c
parentc0a6419aeceaeb93d5d9ccde393236d67ff8c72f (diff)
downloadpttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar.gz
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar.bz2
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar.lz
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar.xz
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.tar.zst
pttbbs-e8fc08b9800ba86163e5bf43469cdc9f4b478b13.zip
only one shared memory
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@296 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 9d795f90..48e21777 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1,4 +1,4 @@
-/* $Id: admin.c,v 1.20 2002/06/04 13:08:33 in2 Exp $ */
+/* $Id: admin.c,v 1.21 2002/06/06 21:34:11 in2 Exp $ */
#include "bbs.h"
/* 使用者管理 */
@@ -368,7 +368,7 @@ int m_board() {
char bname[32];
stand_title("看板設定");
- generalnamecomplete(msg_bid, bname, sizeof(bname), brdshm->number,
+ generalnamecomplete(msg_bid, bname, sizeof(bname), SHM->Bnumber,
completeboard_compar,
completeboard_permission,
completeboard_getname);
@@ -1053,10 +1053,10 @@ int give_money() {
stand_title("發錢中...");
if(to_all) {
int i, unum;
- for(unum = uhash->number, i=0; i<unum; i++) {
- if(bad_user_id(uhash->userid[i]))
+ for(unum = SHM->number, i=0; i<unum; i++) {
+ if(bad_user_id(SHM->userid[i]))
continue;
- id = uhash->userid[i];
+ id = SHM->userid[i];
give_id_money(id, money, fp2, tt, now);
}
// something wrong @_@