summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-27 01:55:48 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-11-27 01:55:48 +0800
commitee37850610d71bd6d50e13d1d78c4e15723843c1 (patch)
tree655dbc491648f2b910681401e48a008d6ba5f5c1 /mbbsd/cal.c
parent502032debd34e24e38a3c5f1959acc217119e1e4 (diff)
downloadpttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar.gz
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar.bz2
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar.lz
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar.xz
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.tar.zst
pttbbs-ee37850610d71bd6d50e13d1d78c4e15723843c1.zip
jwretch asked to change
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2356 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index e5b65fac..d12a1067 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -67,12 +67,9 @@ vice(int money, char *item)
{
setuserfile(buf, VICE_NEW);
log_file(buf, LOG_CREAT | LOG_VF, "%8.8d\n", viceserial);
- snprintf(buf, sizeof(buf),
- "%s 花了$%d 編號[%08d]", item, money, viceserial);
}
- else
- snprintf(buf, sizeof(buf),
- "%s 花了$%d 編號[%08d] ($100以下 不能對獎", item, money, viceserial);
+ snprintf(buf, sizeof(buf),
+ "%s 花了$%d 編號[%08d]", item, money, viceserial);
mail_id(cuser.userid, buf, "etc/vice.txt", "Ptt經濟部");
return 0;
}