summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-04-07 20:11:47 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2014-04-07 20:11:47 +0800
commit4cb5914ba65d0f4a1a77407c0a455eeab3b4634c (patch)
tree5f8ba730a6306ec93403bc9261d92be44924457d
parenta10207b7f1d2575efa797394c56ae36a75f47b4c (diff)
downloadpttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar.gz
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar.bz2
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar.lz
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar.xz
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.tar.zst
pttbbs-4cb5914ba65d0f4a1a77407c0a455eeab3b4634c.zip
No need to display lastlogin time in welcome screen.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/mbbsd.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/pttbbs/mbbsd/mbbsd.c b/pttbbs/mbbsd/mbbsd.c
index e48cf0e0..d906d769 100644
--- a/pttbbs/mbbsd/mbbsd.c
+++ b/pttbbs/mbbsd/mbbsd.c
@@ -979,14 +979,9 @@ setup_utmp(int mode)
inline static void welcome_msg(void)
{
- prints(ANSI_RESET " 歡迎您再度拜訪本站,上次您是從 "
- ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " 連往本站,"
- ANSI_CLRTOEND "\n"
- " 我記得那天是 " ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) "。"
- ANSI_CLRTOEND "\n"
- ANSI_CLRTOEND "\n"
- ,
- cuser.lasthost, Cdate(&(cuser.lastlogin)));
+ prints(ANSI_RESET " 歡迎您再度拜訪,上次您是從 "
+ ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " 連往本站。"
+ ANSI_CLRTOEND "\n", cuser.lasthost);
pressanykey();
}