summaryrefslogtreecommitdiff
path: root/plugins/MessageState/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/MessageState/src/main.cpp')
-rw-r--r--plugins/MessageState/src/main.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/plugins/MessageState/src/main.cpp b/plugins/MessageState/src/main.cpp
index a70cc74864..d799a1408e 100644
--- a/plugins/MessageState/src/main.cpp
+++ b/plugins/MessageState/src/main.cpp
@@ -25,16 +25,9 @@ CMPlugin::CMPlugin() :
/////////////////////////////////////////////////////////////////////////////////////////
-extern "C" int __declspec(dllexport) Load(void)
+int CMPlugin::Load()
{
HookEvent(ME_SYSTEM_MODULESLOADED, OnModulesLoaded);
InitServices();
return 0;
}
-
-/////////////////////////////////////////////////////////////////////////////////////////
-
-extern "C" int __declspec(dllexport) Unload(void)
-{
- return 0;
-} \ No newline at end of file