diff options
author | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-27 09:34:44 +0000 |
---|---|---|
committer | mataes2007 <mataes2007@e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb> | 2011-05-27 09:34:44 +0000 |
commit | fa6ffa4f1e602f59ed78608b9d4dd005b18f4d49 (patch) | |
tree | f35afb8cde5e89f81ef277e93f49e0f2f860e548 | |
parent | 6023b3cc0c84af570eb8ce50462b329d32e0ad5d (diff) |
stopspam update
git-svn-id: http://miranda-plugins.googlecode.com/svn/trunk@127 e753b5eb-9565-29b2-b5c5-2cc6f99dfbcb
-rw-r--r-- | ExternalAPI/m_stopspam.h | 6 | ||||
-rw-r--r-- | stopspam/src/stopspam.cpp | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ExternalAPI/m_stopspam.h b/ExternalAPI/m_stopspam.h index c47ce75..ff3ae05 100644 --- a/ExternalAPI/m_stopspam.h +++ b/ExternalAPI/m_stopspam.h @@ -31,4 +31,10 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. //returns a "Contact Stae" flag
#define MS_STOPSPAM_CONTACTPASSED "StopSpam/IsContactPassed"
+//remove all temporary contacts from db
+//wParam=0
+//lParam=0
+//returns 0
+#define MS_STOPSPAM_REMTEMPCONTACTS "StopSpam/RemoveTempContacts"
+
#endif
\ No newline at end of file diff --git a/stopspam/src/stopspam.cpp b/stopspam/src/stopspam.cpp index 1006482..b61ea60 100644 --- a/stopspam/src/stopspam.cpp +++ b/stopspam/src/stopspam.cpp @@ -73,7 +73,7 @@ extern "C" int __declspec(dllexport) Load(PLUGINLINK *link) HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
// Add deliting temporary contacts
- hTempRemove = CreateServiceFunction(pluginName"/RemoveTempContacts", RemoveTempContacts);
+ hTempRemove = CreateServiceFunction(MS_STOPSPAM_REMTEMPCONTACTS, RemoveTempContacts);
ZeroMemory(&mi, sizeof(mi));
mi.cbSize = sizeof(mi);
mi.position = -0x7FFFFFFF;
|