void AbstractWebApplication::UnbanTimerEvent() { UnbanTimer* ubantimer = static_cast<UnbanTimer*>(sender()); qDebug("Ban period has expired for %s", qPrintable(ubantimer->peerIp().toString())); clientFailedAttempts_.remove(ubantimer->peerIp()); ubantimer->deleteLater(); }
void HttpServer::UnbanTimerEvent() { UnbanTimer* ubantimer = static_cast<UnbanTimer*>(sender()); qDebug("Ban period has expired for %s", qPrintable(ubantimer->peerIp())); m_clientFailedAttempts.remove(ubantimer->peerIp()); ubantimer->deleteLater(); }