From 3f546994609ed717a63222cb16c5359a09ebff35 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:40:02 +0000 Subject: More conversions. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7360 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_namesx.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'src/modules/m_namesx.cpp') 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); -- cgit v1.3.1-10-gc9f91