summaryrefslogtreecommitdiff
path: root/src/modules/m_chgname.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_chgname.cpp')
-rw-r--r--src/modules/m_chgname.cpp27
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp
index d25e51426..2e1171526 100644
--- a/src/modules/m_chgname.cpp
+++ b/src/modules/m_chgname.cpp
@@ -74,29 +74,4 @@ public:
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleChgNameFactory : public ModuleFactory
-{
- public:
- ModuleChgNameFactory()
- {
- }
-
- ~ModuleChgNameFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleChgName(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleChgNameFactory;
-}
-
+MODULE_INIT(ModuleChgName);