diff options
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/syspost.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 639d4fda..e90632cc 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -112,6 +112,13 @@ post_violatelaw(const char *crime, const char *police, const char *reason, const " " ANSI_COLOR(1;32) "%s" ANSI_RESET "因" ANSI_COLOR(1;35) "%s" ANSI_RESET "行為,\n" "違反本站站規,處以" ANSI_COLOR(1;35) "%s" ANSI_RESET ",特此公告\n", police, crime, reason, result); + post_msg("PoliceLog",title,msg,"[Ptt法院]"); + + snprintf(msg, sizeof(msg), + ANSI_COLOR(1;32) "%s" ANSI_RESET "判決:\n" + " " ANSI_COLOR(1;32) "%s" ANSI_RESET "因" ANSI_COLOR(1;35) "%s" ANSI_RESET "行為,\n" + "違反本站站規,處以" ANSI_COLOR(1;35) "%s" ANSI_RESET ",特此公告\n", + "站務警察", crime, reason, result); post_msg("ViolateLaw",title,msg,"[Ptt法院]"); } |