From 94b3cfae92eb33b91fbb3cc2c713b8ff6150020b Mon Sep 17 00:00:00 2001 From: Geoffrey Merck Date: Sun, 7 Jun 2020 10:26:20 +0200 Subject: [PATCH] Reduce past lookup --- IRCDDBApp.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/IRCDDBApp.cpp b/IRCDDBApp.cpp index 30cbb4d..60c8190 100644 --- a/IRCDDBApp.cpp +++ b/IRCDDBApp.cpp @@ -130,6 +130,7 @@ IRCDDBApp::IRCDDBApp(const std::string& u_chan) : d(new IRCDDBAppPrivate) , m_maxTime((time_t)950000000) //februray 2000 { + m_maxTime = time(NULL) - 2592000; //Today -30 days d->sendQ = NULL; d->initReady = false;