diff options
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index e7f23e145..7f40c4ac9 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -99,29 +99,4 @@ class ModuleNoNickChange : public Module } }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleNoNickChangeFactory : public ModuleFactory -{ - public: - ModuleNoNickChangeFactory() - { - } - - ~ModuleNoNickChangeFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleNoNickChange(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleNoNickChangeFactory; -} - +MODULE_INIT(ModuleNoNickChange); |