summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-06 00:20:41 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-04-06 00:20:41 +0800
commitc6c048fb747862e884d81d3992b0fc6105fc0aed (patch)
treeae9b80027d729eb41b91e986bbfb51bc0290cda8 /mbbsd
parentc03bae9c450387cab3673827a21c7a607c5ed27b (diff)
downloadpttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar.gz
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar.bz2
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar.lz
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar.xz
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.tar.zst
pttbbs-c6c048fb747862e884d81d3992b0fc6105fc0aed.zip
- prevent crash connections of angels being paged
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4085 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/angel.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/mbbsd/angel.c b/mbbsd/angel.c
index 0218ceab..3a0e60d9 100644
--- a/mbbsd/angel.c
+++ b/mbbsd/angel.c
@@ -401,11 +401,8 @@ TalkToAngel(){
return;
}
- // now try to load angel data
- angel_reload_nick();
-
uent = search_ulist_userid(cuser.myangel);
- if (uent == NULL || angel_reject_me(uent)){
+ if (uent == NULL || angel_reject_me(uent) || uent->mode == DEBUGSLEEPING){
lastuent = NULL;
AngelNotOnline();
return;
@@ -428,6 +425,8 @@ TalkToAngel(){
}
}
+ // now try to load angel data
+ angel_reload_nick();
more("etc/angel_usage", NA);
/* 這段話或許可以在小天使回答問題時 show 出來