added to config: session_max

how many sessions can be: default 1000000 (one milion)


git-svn-id: svn://ttmath.org/publicrep/winix/trunk@694 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
2010-12-07 17:41:28 +00:00
parent 0a9cdd2f15
commit 508f06339e
6 changed files with 35 additions and 32 deletions

View File

@@ -38,19 +38,6 @@ void Session::Clear()
remember_me = false;
new_session = true;
spam_score = 0;
// dir_old.clear();
}
bool Session::operator==(const Session & s) const
{
return id == s.id;
}
bool Session::operator<(const Session & s) const
{
return id < s.id;
}