summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/init.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod/src/init.cpp')
-rwxr-xr-xplugins/StopSpamMod/src/init.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/StopSpamMod/src/init.cpp b/plugins/StopSpamMod/src/init.cpp
index 5eae71c585..27a58fb800 100755
--- a/plugins/StopSpamMod/src/init.cpp
+++ b/plugins/StopSpamMod/src/init.cpp
@@ -128,7 +128,7 @@ static int OnSystemModulesLoaded(WPARAM, LPARAM)
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load()
+int CMPlugin::Load()
{
CreateServiceFunction("/RemoveTmp", (MIRANDASERVICE)RemoveTmp);
HookEvent(ME_SYSTEM_MODULESLOADED, OnSystemModulesLoaded);
@@ -147,10 +147,3 @@ extern "C" int __declspec(dllexport) Load()
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" int __declspec(dllexport) Unload(void)
-{
- return 0;
-}