summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:09:08 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-03-12 13:09:08 +0800
commit8d8887e355480b30629b8576aa5998b7eb3d9288 (patch)
tree2836f86b977a933dcaa750da6a339058319442f7 /mbbsd/mbbsd.c
parenta6b3fe4ff21bf66ac268bc7487cb41dc74526d67 (diff)
downloadpttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar.gz
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar.bz2
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar.lz
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar.xz
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.tar.zst
pttbbs-8d8887e355480b30629b8576aa5998b7eb3d9288.zip
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1586 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 2c182a87..9481b898 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -898,6 +898,7 @@ inline static void foreign_warning(void){
}
#endif
+
static void
user_login()
{
@@ -966,6 +967,13 @@ user_login()
!currutmp->invisible)
do_aloha("<<上站通知>> -- 我來啦!");
+ if(SHM->loginmsg.pid)
+ {
+ if(search_ulist_pid(SHM->loginmsg.pid))
+ getmessage(SHM->loginmsg);
+ else
+ SHM->loginmsg.pid=0;
+ }
if (cuser.userlevel) { /* not guest */
move(t_lines - 4, 0);
welcome_msg();