summaryrefslogtreecommitdiff
path: root/plugins/Spamotron/src/bayes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Spamotron/src/bayes.cpp')
-rw-r--r--plugins/Spamotron/src/bayes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Spamotron/src/bayes.cpp b/plugins/Spamotron/src/bayes.cpp
index dc4d23e635..c4fde0f693 100644
--- a/plugins/Spamotron/src/bayes.cpp
+++ b/plugins/Spamotron/src/bayes.cpp
@@ -276,7 +276,7 @@ void bayes_approve_contact(MCONTACT hContact)
void dequeue_messages()
{
- time_t t = time(nullptr);
+ time_t t = time(0);
sqlite3_stmt *stmt;
const char *message;
wchar_t *messageW;