summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 00:52:47 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-05 00:52:47 +0800
commit5389a0dd087aaed29cc6e11f5623aef4bb9accf4 (patch)
tree26fcc78f312b3e090dabbead55d83c84003f45b8 /mbbsd/edit.c
parent56abc87c416464be55ab90ea63ed8be3a09f00fe (diff)
downloadpttbbs-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/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 8063b0cf..c2bdfe6a 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -2793,7 +2793,7 @@ vedit(char *fpath, int saveheader, int *islocal)
log_file("etc/illegal_money", LOG_CREAT | LOG_VF,
ANSI_COLOR(1;33;46) "%s " ANSI_COLOR(37;45) " 用機器人發表文章 " ANSI_COLOR(37) " %s" ANSI_RESET "\n",
cuser.userid, ctime4(&now));
- post_violatelaw(cuser.userid, "Ptt系統警察",
+ post_violatelaw(cuser.userid, BBSMNAME "系統警察",
"用機器人發表文章", "強制離站");
abort_bbs(0);
*/