diff options
author | George Hazan <george.hazan@gmail.com> | 2013-09-07 17:51:21 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2013-09-07 17:51:21 +0000 |
commit | df3c30e532ec5c79334b608fb99766e5909a445c (patch) | |
tree | dd641b4a6e47a2d9092ce7c456077b8e20f51f6c /protocols/MRA/src/Mra.cpp | |
parent | ba9274eafbb343c5478054440cfe803b4c894c01 (diff) |
built-in antispam removed from MRA
git-svn-id: http://svn.miranda-ng.org/main/trunk@6006 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/MRA/src/Mra.cpp')
-rw-r--r-- | protocols/MRA/src/Mra.cpp | 12 |
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;
}
|