summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-31 17:00:56 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-03-31 17:00:56 +0800
commit593f3986b4567c32c2949bfe7de60a21d092be77 (patch)
tree3a784f35290c5d8a27fea4473d64f63c9248662a /mbbsd/admin.c
parent3c9cf494311ff493da233af3659a9b5966ee7e46 (diff)
downloadpttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar.gz
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar.bz2
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar.lz
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar.xz
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.tar.zst
pttbbs-593f3986b4567c32c2949bfe7de60a21d092be77.zip
- (internal) change GLOBAL_* to BN_*
WARNING: PLEASE MANUALLY UPDATE pttbbs.conf!! git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4051 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index a69776c2..b0695b3b 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -569,7 +569,7 @@ m_mod_board(char *bname)
memset(&bh, 0, sizeof(bh));
snprintf(bh.title, sizeof(bh.title),
" %s 看板 %s 刪除", bname, cuser.userid);
- post_msg(GLOBAL_SECURITY, bh.title, "請注意刪除的合法性", "[系統安全局]");
+ post_msg(BN_SECURITY, bh.title, "請注意刪除的合法性", "[系統安全局]");
assert(0<=bid-1 && bid-1<MAX_BOARD);
substitute_record(fn_board, &bh, sizeof(bh), bid);
reset_board(bid);
@@ -694,7 +694,7 @@ m_mod_board(char *bname)
"板名: %s => %s\n"
"板主: %s => %s\n",
bh.brdname, newbh.brdname, bh.BM, newbh.BM);
- post_msg(GLOBAL_SECURITY, buf, genbuf, "[系統安全局]");
+ post_msg(BN_SECURITY, buf, genbuf, "[系統安全局]");
}
}
return 0;
@@ -1167,7 +1167,7 @@ give_money(void)
fclose(fp2);
sprintf(buf, "%s 紅包機: %s", cuser.userid, reason);
- post_file(GLOBAL_SECURITY, buf, "etc/givemoney.log", "[紅包機報告]");
+ post_file(BN_SECURITY, buf, "etc/givemoney.log", "[紅包機報告]");
pressanykey();
return FULLUPDATE;
}