diff options
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r-- | src/modules/m_nokicks.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp index e5a37ed62..216fa3ae2 100644 --- a/src/modules/m_nokicks.cpp +++ b/src/modules/m_nokicks.cpp @@ -102,27 +102,4 @@ class ModuleNoKicks : public Module }; -class ModuleNoKicksFactory : public ModuleFactory -{ - public: - ModuleNoKicksFactory() - { - } - - ~ModuleNoKicksFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleNoKicks(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleNoKicksFactory; -} - +MODULE_INIT(ModuleNoKicks); |