diff options
Diffstat (limited to 'src/modules/m_dccallow.cpp')
-rw-r--r-- | src/modules/m_dccallow.cpp | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_dccallow.cpp b/src/modules/m_dccallow.cpp index 817057b87..55f035c36 100644 --- a/src/modules/m_dccallow.cpp +++ b/src/modules/m_dccallow.cpp @@ -486,25 +486,4 @@ class ModuleDCCAllow : public Module } }; -class ModuleDCCAllowFactory : public ModuleFactory -{ - public: - ModuleDCCAllowFactory() - { - } - - ~ModuleDCCAllowFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleDCCAllow(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleDCCAllowFactory; -} +MODULE_INIT(ModuleDCCAllow); |