From 49f651cc391e5bf7c8c1f1c64cb810eb89a45ea5 Mon Sep 17 00:00:00 2001 From: piaip Date: Sun, 6 Apr 2008 04:00:30 +0000 Subject: - update angel loading order git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4086 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/angel.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'mbbsd/angel.c') diff --git a/mbbsd/angel.c b/mbbsd/angel.c index 3a0e60d9..e688aec9 100644 --- a/mbbsd/angel.c +++ b/mbbsd/angel.c @@ -401,6 +401,11 @@ TalkToAngel(){ return; } + // now try to load angel data. + // This MUST be done before calling AngelNotOnline, + // because it relies on this data. + angel_reload_nick(); + uent = search_ulist_userid(cuser.myangel); if (uent == NULL || angel_reject_me(uent) || uent->mode == DEBUGSLEEPING){ lastuent = NULL; @@ -425,8 +430,6 @@ TalkToAngel(){ } } - // now try to load angel data - angel_reload_nick(); more("etc/angel_usage", NA); /* 這段話或許可以在小天使回答問題時 show 出來 -- cgit v1.2.3