From eaa73de381ee283ff5e0da64ee49bfecddb21723 Mon Sep 17 00:00:00 2001 From: in2 Date: Wed, 20 Apr 2005 09:34:19 +0000 Subject: add NOFLOODING on utmpserver git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2701 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index cc8afba3..92377e37 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -819,7 +819,8 @@ setup_utmp(int mode) if (!(cuser.numlogins % 20) && cuser.userlevel & PERM_BM) check_BM(); /* Ptt 自動取下離職板主權力 */ #ifndef _BBS_UTIL_C_ - friend_load(0); + if( strcmp(cuser.userid, STR_GUEST) != 0 ) // guest 不處理好友 + friend_load(0); nice(3); #endif } -- cgit v1.2.3