From 4cb5914ba65d0f4a1a77407c0a455eeab3b4634c Mon Sep 17 00:00:00 2001 From: piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> Date: Mon, 7 Apr 2014 12:11:47 +0000 Subject: No need to display lastlogin time in welcome screen. git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/mbbsd/mbbsd.c | 11 +++-------- 1 file 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 " �w��z�A���X�����A�W���z�O�q " - ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " �s�������A" - ANSI_CLRTOEND "\n" - " �ڰO�o���ѬO " ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) "�C" - ANSI_CLRTOEND "\n" - ANSI_CLRTOEND "\n" - , - cuser.lasthost, Cdate(&(cuser.lastlogin))); + prints(ANSI_RESET " �w��z�A���X�A�W���z�O�q " + ANSI_COLOR(1;33) "%s" ANSI_COLOR(0;37) " �s�������C" + ANSI_CLRTOEND "\n", cuser.lasthost); pressanykey(); } -- cgit v1.2.3