diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-15 20:30:41 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-05-15 20:30:41 +0800 |
commit | 567095c98731c804dab1c64cac7809aec1cc51d8 (patch) | |
tree | 6f117a5470d8467b12dc030a131c21071815a377 /mbbsd/mbbsd.c | |
parent | a8b87ec695abd673d76c148985b0f255d7083ae5 (diff) | |
download | pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar.gz pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar.bz2 pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar.lz pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar.xz pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.tar.zst pttbbs-567095c98731c804dab1c64cac7809aec1cc51d8.zip |
First throughing and replying done.
git-svn-id: http://opensvn.csie.org/pttbbs/branches/scw.angel@1987 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 d881c2b2..14f010d6 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -794,6 +794,8 @@ setup_utmp(int mode) #endif if (enter_uflag & CLOAK_FLAG) uinfo.invisible = YEA; + if (cuser.uflag2 & BEING_ANGEL) + uinfo.being_angel = 1; getnewutmpent(&uinfo); SHM->UTMPneedsort = 1; if (!(cuser.numlogins % 20) && cuser.userlevel & PERM_BM) @@ -1010,7 +1012,7 @@ do_aloha(char *hello) userinfo_t *uentp; if ((uentp = (userinfo_t *) search_ulist_userid(userid)) && isvisible(uentp, currutmp)) { - my_write(uentp->pid, genbuf, uentp->userid, 2, NULL); + my_write(uentp->pid, genbuf, uentp->userid, WATERBALL_ALOHA, NULL); } } fclose(fp); |