From 25b83456a8539992acdeb29d95952ccf1a3d0338 Mon Sep 17 00:00:00 2001 From: in2 Date: Mon, 28 Apr 2003 01:19:40 +0000 Subject: =?UTF-8?q?=EF=BF=BDR=EF=BF=BDt=EF=BF=BD=EF=BF=BD=EF=BF=BDH?= =?UTF-8?q?=EF=BF=BDc=3D>=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BD=EF=BF=BDR100?= =?UTF-8?q?=EF=BF=BD=EF=BF=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/cal.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/cal.c b/mbbsd/cal.c index 83e56465..bae8ca71 100644 --- a/mbbsd/cal.c +++ b/mbbsd/cal.c @@ -1,4 +1,4 @@ -/* $Id: cal.c,v 1.25 2003/03/15 15:30:58 in2 Exp $ */ +/* $Id: cal.c,v 1.26 2003/04/28 01:19:40 in2 Exp $ */ #include "bbs.h" /* ¨¾°ô Multi play */ @@ -327,6 +327,8 @@ p_exmail() n = atoi(ans); if (!ans[0] || !n) return 0; + if (n < 0) + n = 100; if (n + cuser.exmailbox > MAX_EXKEEPMAIL) n = MAX_EXKEEPMAIL - cuser.exmailbox; reload_money(); -- cgit v1.2.3