summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod')
-rw-r--r--plugins/StopSpamMod/src/stdafx.cxx2
-rw-r--r--plugins/StopSpamMod/src/utilities.cpp4
-rw-r--r--plugins/StopSpamMod/src/version.h2
3 files changed, 4 insertions, 4 deletions
diff --git a/plugins/StopSpamMod/src/stdafx.cxx b/plugins/StopSpamMod/src/stdafx.cxx
index 13f28e1314..f111565f38 100644
--- a/plugins/StopSpamMod/src/stdafx.cxx
+++ b/plugins/StopSpamMod/src/stdafx.cxx
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2012-24 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-25 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/plugins/StopSpamMod/src/utilities.cpp b/plugins/StopSpamMod/src/utilities.cpp
index 95581f9b47..aafcd0c285 100644
--- a/plugins/StopSpamMod/src/utilities.cpp
+++ b/plugins/StopSpamMod/src/utilities.cpp
@@ -67,7 +67,7 @@ bool ProtoInList(const char *szProto)
void DeleteCListGroupsByName(wchar_t *szGroupName)
{
- uint8_t ConfirmDelete = Clist::ConfirmDelete;
+ uint8_t ConfirmDelete = Clist::bConfirmDelete;
if (ConfirmDelete)
db_set_b(0, "CList", "ConfirmDelete", 0);
@@ -260,7 +260,7 @@ void HistoryLog(MCONTACT hContact, char *data, int event_type, int flags)
Event.szModule = MODULENAME;
Event.eventType = event_type;
Event.flags = flags | DBEF_UTF;
- Event.timestamp = (uint32_t)time(0);
+ Event.iTimestamp = (uint32_t)time(0);
Event.cbBlob = (uint32_t)mir_strlen(data) + 1;
Event.pBlob = _strdup(data);
db_event_add(hContact, &Event);
diff --git a/plugins/StopSpamMod/src/version.h b/plugins/StopSpamMod/src/version.h
index c572378af9..2cc22ea84a 100644
--- a/plugins/StopSpamMod/src/version.h
+++ b/plugins/StopSpamMod/src/version.h
@@ -10,4 +10,4 @@
#define __DESCRIPTION "Anti-spam plugin for Miranda NG."
#define __AUTHOR "Roman Miklashevsky, sss, Elzor"
#define __AUTHORWEB "https://miranda-ng.org/p/StopSpamMod"
-#define __COPYRIGHT "© 2004-24 Roman Miklashevsky, A. Petkevich, Kosh&chka, sss, Elzor"
+#define __COPYRIGHT "© 2004-25 Roman Miklashevsky, A. Petkevich, Kosh&chka, sss, Elzor"