summaryrefslogtreecommitdiff
path: root/src/modules/m_noctcp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_noctcp.cpp')
-rw-r--r--src/modules/m_noctcp.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_noctcp.cpp b/src/modules/m_noctcp.cpp
index c9ed1297c..713b054d5 100644
--- a/src/modules/m_noctcp.cpp
+++ b/src/modules/m_noctcp.cpp
@@ -104,28 +104,4 @@ class ModuleNoCTCP : public Module
}
};
-
-class ModuleNoCTCPFactory : public ModuleFactory
-{
- public:
- ModuleNoCTCPFactory()
- {
- }
-
- ~ModuleNoCTCPFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleNoCTCP(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleNoCTCPFactory;
-}
-
+MODULE_INIT(ModuleNoCTCP);