summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/chat.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mbbsd/chat.c b/mbbsd/chat.c
index af3b8e84..6623fbc2 100644
--- a/mbbsd/chat.c
+++ b/mbbsd/chat.c
@@ -295,8 +295,9 @@ t_chat(void)
#ifdef CHAT_REGDAYS
if ((now - cuser.firstlogin)/86400 < CHAT_REGDAYS)
{
- vmsg("您還不夠資深喔");
- return 0;
+ int i = CHAT_REGDAYS - (now-cuser.firstlogin)/86400 +1;
+ vmsgf("您還不夠資深喔 (再等 %d 天吧)", i);
+ return 0;
}
#endif