summaryrefslogtreecommitdiff
path: root/src/modules/m_tline.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_tline.cpp')
-rw-r--r--src/modules/m_tline.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_tline.cpp b/src/modules/m_tline.cpp
index 37437b5fd..39cd2b0aa 100644
--- a/src/modules/m_tline.cpp
+++ b/src/modules/m_tline.cpp
@@ -92,28 +92,5 @@ class ModuleTLine : public Module
}
};
-
-class ModuleTLineFactory : public ModuleFactory
-{
- public:
- ModuleTLineFactory()
- {
- }
-
- ~ModuleTLineFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleTLine(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleTLineFactory;
-}
+MODULE_INIT(ModuleTLine);