Commit a0387e35 authored by Nigel Kukard's avatar Nigel Kukard
Browse files

* Use Timestamp and not UnixTimestamp

parent a1e6e8d7
......@@ -449,7 +449,7 @@ sub check {
WHERE
ID = ?
',
$key,$sessionData->{'UnixTimestamp'},$blacklist,$currentAutoBlacklistEntry
$key,$sessionData->{'Timestamp'},$blacklist,$currentAutoBlacklistEntry
);
if (!$sth) {
$server->log(LOG_ERR,"[GREYLISTING] Database update failed: ".cbp::dblayer::Error());
......@@ -464,7 +464,7 @@ sub check {
VALUES
(?,?,?)
',
$key,$sessionData->{'UnixTimestamp'},$blacklist
$key,$sessionData->{'Timestamp'},$blacklist
);
if (!$sth) {
$server->log(LOG_ERR,"[GREYLISTING] Database insert failed: ".cbp::dblayer::Error());
......@@ -685,7 +685,7 @@ sub check {
WHERE
ID = ?
',
$key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist,$currentAutoWhitelistEntry
$key,$sessionData->{'Timestamp'},$sessionData->{'Timestamp'},$whitelist,$currentAutoWhitelistEntry
);
if (!$sth) {
$server->log(LOG_ERR,"[GREYLISTING] Database update failed: ".cbp::dblayer::Error());
......@@ -699,7 +699,7 @@ sub check {
VALUES
(?,?,?,?)
',
$key,$sessionData->{'UnixTimestamp'},$sessionData->{'UnixTimestamp'},$whitelist
$key,$sessionData->{'Timestamp'},$sessionData->{'Timestamp'},$whitelist
);
if (!$sth) {
$server->log(LOG_ERR,"[GREYLISTING] Database insert failed: ".cbp::dblayer::Error());
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment