mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Bazaar/ProtectServer : fixed building on new core
git-svn-id: svn://ultimatepp.org/upp/trunk@11976 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
49abbe7001
commit
ae33cf8d23
1 changed files with 2 additions and 2 deletions
|
|
@ -449,7 +449,7 @@ VectorMap<String, Value> ProtectServer::ProcessRequest(int reason, VectorMap<Str
|
|||
res.Add("ERROR", PROTECT_MAIL_SEND_ERROR);
|
||||
}
|
||||
// otherwise we shall check if license expired
|
||||
else if(userRec.Get("EXPIRATION") <= GetSysTime())
|
||||
else if((Time)userRec.Get("EXPIRATION") <= GetSysTime())
|
||||
{
|
||||
// signals expiration and leave
|
||||
res.Add("ERROR", PROTECT_MAIL_ALREADY_USED);
|
||||
|
|
@ -516,7 +516,7 @@ VectorMap<String, Value> ProtectServer::ProcessRequest(int reason, VectorMap<Str
|
|||
}
|
||||
|
||||
// ok, product registered and activated... is license expired ?
|
||||
if(userRec.Get("EXPIRATION") < GetSysTime())
|
||||
if((Time)userRec.Get("EXPIRATION") < GetSysTime())
|
||||
{
|
||||
res.Add("ERROR", PROTECT_LICENSE_EXPIRED);
|
||||
return res;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue