diff options
author | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2010-09-10 15:46:19 -0400 |
commit | 9eb7562bee7f2a52cf91b0ab0ebc10351f2a46f2 (patch) | |
tree | 1dcc4928486a08643af70f69f094ab44c41642e5 /src/users.cpp | |
parent | 46813ccb8c6ab572b8a9ff0a39afb1d92dc4482b (diff) |
Fixed bug #1187 - Fixed releasing enforcer clients on TS6 IRCds
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp index 36b32071b..8c99575b7 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -36,8 +36,9 @@ User::User(const Anope::string &snick, const Anope::string &sident, const Anope: /* we used to do this by calloc, no more. */ server = NULL; nc = NULL; - invalid_pw_count = timestamp = my_signon = invalid_pw_time = lastmemosend = lastnickreg = lastmail = 0; + invalid_pw_count = invalid_pw_time = lastmemosend = lastnickreg = lastmail = 0; OnAccess = false; + timestamp = my_signon = time(NULL); this->nick = snick; this->ident = sident; |