diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-04-16 10:59:01 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2007-04-16 10:59:01 +0800 |
commit | 48049f58fca08253facdfa66371b48ea046abcc9 (patch) | |
tree | ae91c8ca340b4ccfdf355291472ca97fd74d7f73 /mbbsd/mbbsd.c | |
parent | 54ab3b0886feb9faa8ead846c2bd1e2b688023e5 (diff) | |
download | pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar.gz pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar.bz2 pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar.lz pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar.xz pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.tar.zst pttbbs-48049f58fca08253facdfa66371b48ea046abcc9.zip |
horoscope flavor birthday card
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3503 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index eadcc622..979d76dc 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1114,7 +1114,9 @@ user_login(void) /* show welcome_login */ if( (ifbirth = (ptime->tm_mday == cuser.day && ptime->tm_mon + 1 == cuser.month)) ){ - more("etc/Welcome_birth", NA); + char buf[PATHLEN]; + snprintf(buf, sizeof(buf), "etc/Welcome_birth.%d", getHoroscope(cuser.month, cuser.day)); + more(buf, NA); } else { #ifndef MULTI_WELCOME_LOGIN |