summaryrefslogtreecommitdiff
path: root/src/modules/m_xmlsocket.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_xmlsocket.cpp')
-rw-r--r--src/modules/m_xmlsocket.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/modules/m_xmlsocket.cpp b/src/modules/m_xmlsocket.cpp
index 27c767118..1348fcee7 100644
--- a/src/modules/m_xmlsocket.cpp
+++ b/src/modules/m_xmlsocket.cpp
@@ -166,25 +166,5 @@ class ModuleXMLSocket : public Module
};
-class ModuleXMLSocketFactory : public ModuleFactory
-{
- public:
- ModuleXMLSocketFactory()
- {
- }
-
- ~ModuleXMLSocketFactory()
- {
- }
+MODULE_INIT(ModuleXMLSocket);
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleXMLSocket(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleXMLSocketFactory;
-}