summaryrefslogtreecommitdiff
path: root/plugins/StopSpamPlus/src/events.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamPlus/src/events.cpp')
-rw-r--r--plugins/StopSpamPlus/src/events.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/StopSpamPlus/src/events.cpp b/plugins/StopSpamPlus/src/events.cpp
index 9b7cf5cbb7..a2bd2d4608 100644
--- a/plugins/StopSpamPlus/src/events.cpp
+++ b/plugins/StopSpamPlus/src/events.cpp
@@ -152,7 +152,7 @@ void CMPlugin::Impl::OnTimer(CTimer *)
time_t now = time(0);
for (auto &it : g_times) {
- if (now - it.second < iTimeout)
+ if (now - it.second < iTimeout * 60)
continue;
if (MEVENT hDbEvent = g_plugin.getDword(it.first, DB_KEY_HASAUTH)) {