diff options
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 887ca77e..0958988d 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1139,9 +1139,6 @@ user_login(void) /* get local time */ localtime4_r(&now, &ptime); - /* 初始化: random number 增加user跟時間的差異 */ - mysrand(); - log_usies("ENTER", fromhost); #ifndef VALGRIND setproctitle("%s: %s", margs, cuser.userid); @@ -1385,6 +1382,8 @@ start_client(void) Signal(SIGALRM, abort_bbs); alarm(600); + mysrand(); /* 初始化: random number 增加user跟時間的差異 */ + login_query(); /* Ptt 加上login time out */ m_init(); /* init the user mail path */ user_login(); |