diff options
Diffstat (limited to 'plugins/StopSpamPlus/src/stopspam.cpp')
-rw-r--r-- | plugins/StopSpamPlus/src/stopspam.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/StopSpamPlus/src/stopspam.cpp b/plugins/StopSpamPlus/src/stopspam.cpp index ad0d30d992..411b734f2d 100644 --- a/plugins/StopSpamPlus/src/stopspam.cpp +++ b/plugins/StopSpamPlus/src/stopspam.cpp @@ -24,7 +24,7 @@ CMPlugin::CMPlugin() : /////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load(void)
+int CMPlugin::Load()
{
CreateServiceFunction(MS_STOPSPAM_CONTACTPASSED, IsContactPassed);
@@ -46,10 +46,3 @@ extern "C" int __declspec(dllexport) Load(void) CreateServiceFunction(mi.pszService, RemoveTempContacts);
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" int __declspec(dllexport) Unload(void)
-{
- return 0;
-}
\ No newline at end of file |