summaryrefslogtreecommitdiff
path: root/plugins/StopSpamMod/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StopSpamMod/src/stdafx.h')
-rwxr-xr-xplugins/StopSpamMod/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/StopSpamMod/src/stdafx.h b/plugins/StopSpamMod/src/stdafx.h
index c10b806397..1ff0aa6958 100755
--- a/plugins/StopSpamMod/src/stdafx.h
+++ b/plugins/StopSpamMod/src/stdafx.h
@@ -6,7 +6,6 @@ using namespace std;
#include <fstream>
#include <string>
-#define __NO_CMPLUGIN_NEEDED
#include <newpluginapi.h>
#include <m_database.h>
#include <m_protosvc.h>
@@ -36,7 +35,13 @@ using namespace std;
#include "resource.h"
#include "utilities.h"
-extern HINSTANCE hInst;
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(pluginName)
+ {}
+};
+
extern HANDLE hStopSpamLogDirH;
int OnDbContactSettingChanged(WPARAM w, LPARAM l);