summaryrefslogtreecommitdiffstats
path: root/mbbsd/syspost.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-01 12:20:57 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-01 12:20:57 +0800
commit37486bf44d579146727c168f7e793c37b6eef84d (patch)
tree3edc749f0b3dce5dd8ad7c187451013fed6612a5 /mbbsd/syspost.c
parentf29581d209621a138949677a715c9402ca5e5f14 (diff)
downloadpttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar.gz
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar.bz2
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar.lz
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar.xz
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.tar.zst
pttbbs-37486bf44d579146727c168f7e793c37b6eef84d.zip
article lock sends copy to BM and PoliceLog board
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3435 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r--mbbsd/syspost.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c
index 0bd38060..f3dde5de 100644
--- a/mbbsd/syspost.c
+++ b/mbbsd/syspost.c
@@ -134,11 +134,11 @@ post_policelog(const char *bname, const char *atitle, const char *action, const
{
char genbuf[256], title[TTLEN+1];
- snprintf(title, sizeof(title), "[%s] %s by %s", action, bname, cuser.userid);
+ snprintf(title, sizeof(title), "[%s][%s] %s by %s", action, toggle ? "開啟" : "關閉", bname, cuser.userid);
snprintf(genbuf, sizeof(genbuf),
"%s (%s) %s %s 看板 %s 功\能\n%s%s\n",
cuser.userid, fromhost, toggle ? "開啟" : "關閉", bname, action,
- atitle ? "文章標題" : "", atitle ? atitle : "");
+ atitle ? "文章標題 : " : "", atitle ? atitle : "");
post_msg("PoliceLog", title, genbuf, "[系統]");
}