summaryrefslogtreecommitdiff
path: root/plugins/Boltun/src/stdafx.h
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Boltun/src/stdafx.h')
-rw-r--r--plugins/Boltun/src/stdafx.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/plugins/Boltun/src/stdafx.h b/plugins/Boltun/src/stdafx.h
index 5fb0955d9d..03f9929561 100644
--- a/plugins/Boltun/src/stdafx.h
+++ b/plugins/Boltun/src/stdafx.h
@@ -30,8 +30,6 @@
#include <string>
#include <list>
-#define __NO_CMPLUGIN_NEEDED
-
#include <newpluginapi.h>
#include <m_clist.h>
#include <m_system.h>
@@ -53,6 +51,13 @@
#define BOLTUN_KEY "Boltun"
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin() :
+ PLUGIN<CMPlugin>(BOLTUN_KEY)
+ {}
+};
+
//Service names
#define SERV_CONTACT_AUTO_CHAT "Boltun/ContactAutoChat"
#define SERV_CONTACT_NOT_TO_CHAT "Boltun/ContactNotToChat"