diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-10-03 15:06:27 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-10-03 15:06:27 +0800 |
commit | 9d7bc3427c3ab34354a1ae143669896bf1431c80 (patch) | |
tree | b82444ee0164a41461aab458d5eab0abe36d7317 | |
parent | 3a1eb6118725ab980e763328fc82ce961e756b78 (diff) | |
download | pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar.gz pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar.bz2 pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar.lz pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar.xz pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.tar.zst pttbbs-9d7bc3427c3ab34354a1ae143669896bf1431c80.zip |
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3440 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-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), |