diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-12 04:27:39 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-12 04:27:39 +0800 |
commit | 66cc74e795d24f3b384fbd1733e78bf643bff4e5 (patch) | |
tree | a91747112b79f5a619f0c44241109053d7f5a11c | |
parent | 64295988a21923199df63c90adb7cb25589107b4 (diff) | |
download | pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar.gz pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar.bz2 pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar.lz pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar.xz pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.tar.zst pttbbs-66cc74e795d24f3b384fbd1733e78bf643bff4e5.zip |
fix bug
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@21 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mbbsd.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 73e37d75..5323b376 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.3 2002/03/11 11:15:00 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.4 2002/03/11 20:27:39 in2 Exp $ */ #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -409,6 +409,11 @@ add_history(msgque_t *msg) t_display_new(); } } + + if( WATERMODE(WATER_OFO) ){ + swater[0]->uin = (userinfo_t *)search_ulist_pid(swater[0]->pid); + swater[0]->alive = (swater[0]->uin != NULL); + } return i; } |