summaryrefslogtreecommitdiff
path: root/plugins/Boltun/src/stdafx.h
diff options
context:
space:
mode:
authorKirill Volinsky <Mataes2007@gmail.com>2018-05-16 17:06:38 +0300
committerKirill Volinsky <Mataes2007@gmail.com>2018-05-16 17:06:38 +0300
commit0c2b7724eba7cd5e35cf8c3b58b1f1a42fa1c288 (patch)
tree2f45df3033c5fd888215c5938b960524c5d3497b /plugins/Boltun/src/stdafx.h
parenta6575dc0578e825a830d062319397a3f841f6b54 (diff)
Boltun: cmplugin adaptation
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"