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