diff options
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), |