]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_chgname.cpp
More (last of extra)
[user/henk/code/inspircd.git] / src / modules / m_chgname.cpp
index d25e51426d4f34d4a8879f17c23c7138082e1c42..2e11715268d513f2a41dea5cfcdf8da9b6b4bd29 100644 (file)
@@ -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);