From 9d7bc3427c3ab34354a1ae143669896bf1431c80 Mon Sep 17 00:00:00 2001 From: wens Date: Tue, 3 Oct 2006 07:06:27 +0000 Subject: fix bug git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/syspost.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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), -- cgit v1.2.3