summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.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/cal.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/cal.c')
-rw-r--r--mbbsd/cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index b99d89e4..d44b5b58 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -91,7 +91,7 @@ vice(int money, const char *item)
}
snprintf(buf, sizeof(buf),
"%s 花了$%d 編號[%08d]", item, money, viceserial);
- mail_id(cuser.userid, buf, "etc/vice.txt", "Ptt經濟部");
+ mail_id(cuser.userid, buf, "etc/vice.txt", BBSMNAME "經濟部");
return 0;
}