diff options
author | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 00:52:47 +0800 |
---|---|---|
committer | wens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-12-05 00:52:47 +0800 |
commit | 5389a0dd087aaed29cc6e11f5623aef4bb9accf4 (patch) | |
tree | 26fcc78f312b3e090dabbead55d83c84003f45b8 /mbbsd/syspost.c | |
parent | 56abc87c416464be55ab90ea63ed8be3a09f00fe (diff) | |
download | pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar.gz pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar.bz2 pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar.lz pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar.xz pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.tar.zst pttbbs-5389a0dd087aaed29cc6e11f5623aef4bb9accf4.zip |
- general code refine: remove all hard-coded "Ptt" message string and
use macro BBSMNAME/BBSMNAME2 instead
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3628 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/syspost.c')
-rw-r--r-- | mbbsd/syspost.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/syspost.c b/mbbsd/syspost.c index 13e71390..029c23a7 100644 --- a/mbbsd/syspost.c +++ b/mbbsd/syspost.c @@ -114,7 +114,7 @@ post_violatelaw(const char *crime, const char *police, const char *reason, const police, crime, reason, result); if (!strstr(police, "警察")) { - post_msg("PoliceLog", title, msg, "[Ptt法院]"); + post_msg("PoliceLog", title, msg, "[" BBSMNAME "法院]"); snprintf(msg, sizeof(msg), ANSI_COLOR(1;32) "%s" ANSI_RESET "判決:\n" @@ -123,7 +123,7 @@ post_violatelaw(const char *crime, const char *police, const char *reason, const "站務警察", crime, reason, result); } - post_msg("ViolateLaw", title, msg, "[Ptt法院]"); + post_msg("ViolateLaw", title, msg, "[" BBSMNAME "法院]"); } void |