diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-29 21:45:28 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-03-29 21:45:28 +0800 |
commit | 6deb8c095903d745226ea2a6935d41f8cd0bb499 (patch) | |
tree | 5d69d0ae00c377735e10733c43aa12c435e50620 /mbbsd/mbbsd.c | |
parent | 52c2b95ecfa594e4e16c0fa346e6006c03b48fe5 (diff) | |
download | pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar.gz pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar.bz2 pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar.lz pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar.xz pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.tar.zst pttbbs-6deb8c095903d745226ea2a6935d41f8cd0bb499.zip |
*** empty log message ***
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@70 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 20 |
1 files changed, 1 insertions, 19 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 2e910180..c793b6bc 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.15 2002/03/23 09:04:54 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.16 2002/03/29 13:45:28 ptt Exp $ */ #include <stdio.h> #include <string.h> #include <stdlib.h> @@ -1002,9 +1002,6 @@ static void start_client () { extern struct commands_t cmdlist[]; -#if FORCE_PROCESS_REGISTER_FORM - int nreg; -#endif #ifdef CPULIMIT struct rlimit rml; rml.rlim_cur = CPULIMIT * 60; @@ -1041,26 +1038,11 @@ start_client () user_login (); m_init (); -#if FORCE_PROCESS_REGISTER_FORM - if (HAS_PERM (PERM_SYSOP) && (nreg = dashs (fn_register) / 163) > 100){ - char cpu_load[30]; - if (cpuload (cpu_load) > MAX_CPULOAD * 2 / 3) - /* DickG: 根據目前的 load 來決定要審核的數目 */ - scan_register_form (fn_register, 1, nreg / 20); - else - scan_register_form (fn_register, 1, nreg / 10); - } -#endif if (HAVE_PERM (PERM_SYSOP | PERM_BM)) b_closepolls (); if (!(cuser.uflag & COLOR_FLAG)) showansi = 0; -#ifdef DOTIMEOUT - /* init_alarm(); */// cause strange logout with saving post. signal (SIGALRM, SIG_IGN); -#else - signal (SIGALRM, SIG_IGN); -#endif if (chkmailbox ()) m_read (); |