]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hidechans.cpp
More (last of extra)
[user/henk/code/inspircd.git] / src / modules / m_hidechans.cpp
index 976d8bb4978636f603babfe7f34041cfb282810a..44d503ff3fbd51256e9473da3de14a27aaae6fd9 100644 (file)
@@ -91,26 +91,5 @@ class ModuleHideChans : public Module
        }
 };
 
-class ModuleHideChansFactory : public ModuleFactory
-{
- public:
-       ModuleHideChansFactory()
-       {
-       }
-       
-       ~ModuleHideChansFactory()
-       {
-       }
-       
-       virtual Module * CreateModule(InspIRCd* Me)
-       {
-               return new ModuleHideChans(Me);
-       }
-       
-};
-
 
-extern "C" DllExport void * init_module( void )
-{
-       return new ModuleHideChansFactory;
-}
+MODULE_INIT(ModuleHideChans);