From d99c2c1ea74383a66b36582ccd364802c7223833 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:22:53 +0000 Subject: More factory conversion git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7350 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_chgname.cpp | 27 +-------------------------- 1 file changed, 1 insertion(+), 26 deletions(-) (limited to 'src/modules/m_chgname.cpp') diff --git a/src/modules/m_chgname.cpp b/src/modules/m_chgname.cpp index d25e51426..2e1171526 100644 --- a/src/modules/m_chgname.cpp +++ b/src/modules/m_chgname.cpp @@ -74,29 +74,4 @@ public: }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleChgNameFactory : public ModuleFactory -{ - public: - ModuleChgNameFactory() - { - } - - ~ModuleChgNameFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleChgName(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleChgNameFactory; -} - +MODULE_INIT(ModuleChgName); -- cgit v1.2.3