summaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index 740eeadf1..21107f124 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -76,29 +76,5 @@ public:
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleChgIdentFactory : public ModuleFactory
-{
- public:
- ModuleChgIdentFactory()
- {
- }
-
- ~ModuleChgIdentFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleChgIdent(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleChgIdentFactory;
-}
+MODULE_INIT(ModuleChgIdent);