From fcda94368ef75154d2730b9c2c0bfbd451e05173 Mon Sep 17 00:00:00 2001 From: ptt Date: Fri, 26 Nov 2004 17:26:37 +0000 Subject: If pay under 100 there is no invoice git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2354 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mbbsd') 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), -- cgit v1.2.3