diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-28 09:19:40 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-04-28 09:19:40 +0800 |
commit | 25b83456a8539992acdeb29d95952ccf1a3d0338 (patch) | |
tree | bc56c714cf6df5c4383e88b1b323b26287b06347 | |
parent | 9209d4af66d7a4583ed562ad78aa280bb6e26ac5 (diff) | |
download | pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar.gz pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar.bz2 pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar.lz pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar.xz pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.tar.zst pttbbs-25b83456a8539992acdeb29d95952ccf1a3d0338.zip |
�R�t���H�c=>�����R100��
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@812 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/cal.c | 4 |
1 files changed, 3 insertions, 1 deletions
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(); |