This commit is contained in:
Valentino Orlandi 2024-02-06 21:25:27 +01:00
parent ddf92dc04d
commit c6406a3e7a
Signed by: elB4RTO
GPG Key ID: 1719E976DB2D4E71
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ void HashOps::insertUsedHashes( const std::string& db_path, const std::vector<st
for ( const std::string& hash : hashes ) {
if ( VecOps::contains( this->hashes.at( web_server ), hash ) ) {
if ( ! VecOps::contains( this->hashes.at( web_server ), hash ) ) {
db.getQuery()( QStringLiteral(R"(INSERT INTO "%1" ( hash ) VALUES ( '%2' );)")
.arg( this->ws_names.at(web_server), QString::fromStdString(hash).replace(QLatin1Char('\''),QLatin1String("''")) ) );