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