summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.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/user.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/user.c')
-rw-r--r--mbbsd/user.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index bb911fc6..0e87d17e 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -965,7 +965,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
u->userid, witness[0], witness[1], witness[2] );
fclose(fp);
- post_file("Security", title, "etc/updatepwd.log", "[系統安全局]");
+ post_file(GLOBAL_SECURITY, title, "etc/updatepwd.log", "[系統安全局]");
mail_id(u->userid, title, "etc/updatepwd.log", cuser.userid);
for(i=0; i<3; i++)
{
@@ -1088,7 +1088,7 @@ uinfo_query(userec_t *u, int adminmode, int unum)
snprintf(title, sizeof(title),
"[公安報告] 站長%s修改%s錢報告", cuser.userid,
x.userid);
- post_msg("Security", title, msg, "[系統安全局]");
+ post_msg(GLOBAL_SECURITY, title, msg, "[系統安全局]");
setumoney(unum, x.money);
}
passwd_update(unum, &x);