summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/talk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/talk.c b/mbbsd/talk.c
index d31299ec..2ba53be4 100644
--- a/mbbsd/talk.c
+++ b/mbbsd/talk.c
@@ -1,4 +1,4 @@
-/* $Id: talk.c,v 1.48 2002/05/30 15:49:11 lwms Exp $ */
+/* $Id: talk.c,v 1.49 2002/05/30 15:53:28 lwms Exp $ */
#include <stdio.h>
#include <string.h>
#include <errno.h>
@@ -2106,7 +2106,7 @@ static void userlist(void)
}
getdata(b_lines - 1, 0, "你現在的心情 0:無 q不變 [q]:",
genbuf, 3, LCECHO);
- if( genbuf[0] && genbuf[0] != 'q' && atoi(genbuf) > 0)
+ if( genbuf[0] && genbuf[0] != 'q' && atoi(genbuf) >= 0)
currutmp->mind = atoi(genbuf) % i;
break;