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