diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-27 01:26:37 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-11-27 01:26:37 +0800 |
commit | fcda94368ef75154d2730b9c2c0bfbd451e05173 (patch) | |
tree | e9f0a4f0ee486d2b49ff2eecacc7e8dea7bb2b0f /mbbsd | |
parent | 884815b8df616d5c1a253f168f872a6ff04a699a (diff) | |
download | pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar.gz pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar.bz2 pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar.lz pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar.xz pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.tar.zst pttbbs-fcda94368ef75154d2730b9c2c0bfbd451e05173.zip |
If pay under 100 there is no invoice
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/cal.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c index e9ef946c..87156d15 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -63,6 +63,7 @@ vice(int money, char *item) unsigned int viceserial = (currutmp->lastact % 10000) * 10000 + rand() % 10000; demoney(-money); + if(money<100) return 0; setuserfile(buf, VICE_NEW); log_file(buf, LOG_CREAT | LOG_VF, "%8.8d\n", viceserial); snprintf(buf, sizeof(buf), |