diff options
-rw-r--r-- | mbbsd/syspost.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 05229c77..13e71390 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -113,7 +113,7 @@ post_violatelaw(const char *crime, const char *police, const char *reason, const "違反本站站規,處以" ANSI_COLOR(1;35) "%s" ANSI_RESET ",特此公告\n", police, crime, reason, result); - if (strstr(police, "警察")) { + if (!strstr(police, "警察")) { post_msg("PoliceLog", title, msg, "[Ptt法院]"); snprintf(msg, sizeof(msg), |