diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-11 02:01:26 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-11 02:01:26 +0800 |
commit | b35b506fa5b8bc99d5d19ef495024aae2144ebea (patch) | |
tree | 6784960d59fab8051dbb15a0300d8d605b2b0f7a /mbbsd/mbbsd.c | |
parent | 0b34cd60dc37339e676ff121d1cb99a6260ee7b0 (diff) | |
download | pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar.gz pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar.bz2 pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar.lz pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar.xz pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.tar.zst pttbbs-b35b506fa5b8bc99d5d19ef495024aae2144ebea.zip |
* now should be initialized before register(new), otherwise birthday will always be error...
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4558 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 278627d5..4ae67910 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -759,7 +759,6 @@ login_query(char *ruid) int attempts; resolve_garbage(); - now = time(0); #ifdef DEBUG move(1, 0); @@ -1441,6 +1440,7 @@ start_client(struct ProgramOption *option) alarm(600); mysrand(); /* 初始化: random number 增加user跟時間的差異 */ + now = time(0); // if flag_user contains an uid, it is already authorized. if (!option->flag_user[0]) |