summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
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