summaryrefslogtreecommitdiff
path: root/protocols/MRA/src/Mra.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/MRA/src/Mra.cpp')
-rw-r--r--protocols/MRA/src/Mra.cpp12
1 files changed, 2 insertions, 10 deletions
diff --git a/protocols/MRA/src/Mra.cpp b/protocols/MRA/src/Mra.cpp
index ff4cdf4909..cb410b03f6 100644
--- a/protocols/MRA/src/Mra.cpp
+++ b/protocols/MRA/src/Mra.cpp
@@ -137,20 +137,12 @@ extern "C" __declspec(dllexport) int Unload(void)
static int OnModulesLoaded(WPARAM wParam, LPARAM lParam)
{
- MraAntiSpamLoadBadWordsW();
-
- InterlockedExchange((volatile LONG*)&masMraSettings.dwGlobalPluginRunning, TRUE);
-
- DebugPrintCRLFW(L"OnModulesLoaded - DONE");
+ masMraSettings.dwGlobalPluginRunning = TRUE;
return 0;
}
int OnPreShutdown(WPARAM wParam, LPARAM lParam)
{
- InterlockedExchange((volatile LONG*)&masMraSettings.dwGlobalPluginRunning, FALSE);
-
- MraAntiSpamFreeBadWords();
-
- DebugPrintCRLFW(L"OnPreShutdown - DONE");
+ masMraSettings.dwGlobalPluginRunning = FALSE;
return 0;
}