summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 14:04:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-07 14:04:47 +0800
commit735c0af69f7d5f547d7f714fe47881b513b91fa8 (patch)
treecc2262fd99004d290e6acb0a73a9ac03d5ce9f56 /mbbsd/admin.c
parent9d517c2dd00769cec30f784dd6ecab23c6551f75 (diff)
downloadpttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.gz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.bz2
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.lz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.xz
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.tar.zst
pttbbs-735c0af69f7d5f547d7f714fe47881b513b91fa8.zip
- change hard-coded board names to defines
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3649 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 41b776f7..f1f0b1d5 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -530,7 +530,7 @@ m_mod_board(char *bname)
memset(&bh, 0, sizeof(bh));
snprintf(bh.title, sizeof(bh.title),
" %s 看板 %s 刪除", bname, cuser.userid);
- post_msg("Security", bh.title, "請注意刪除的合法性", "[系統安全局]");
+ post_msg(GLOBAL_SECURITY, bh.title, "請注意刪除的合法性", "[系統安全局]");
assert(0<=bid-1 && bid-1<MAX_BOARD);
substitute_record(fn_board, &bh, sizeof(bh), bid);
reset_board(bid);
@@ -655,7 +655,7 @@ m_mod_board(char *bname)
"板名: %s => %s\n"
"板主: %s => %s\n",
bh.brdname, newbh.brdname, bh.BM, newbh.BM);
- post_msg("Security", buf, genbuf, "[系統安全局]");
+ post_msg(GLOBAL_SECURITY, buf, genbuf, "[系統安全局]");
}
}
return 0;
@@ -1531,7 +1531,7 @@ give_money(void)
fclose(fp2);
sprintf(buf, "%s 紅包機: %s", cuser.userid, reason);
- post_file("Security", buf, "etc/givemoney.log", "[紅包機報告]");
+ post_file(GLOBAL_SECURITY, buf, "etc/givemoney.log", "[紅包機報告]");
pressanykey();
return FULLUPDATE;
}