From 017ce3d846b50918251ee900dde7c7d3f5a691b9 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 17 Jun 2007 13:06:49 +0000 Subject: First two conversions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7342 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_ziplink.cpp | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp index e0b0afca6..e815d1042 100644 --- a/src/modules/extra/m_ziplink.cpp +++ b/src/modules/extra/m_ziplink.cpp @@ -448,25 +448,5 @@ class ModuleZLib : public Module }; -class ModuleZLibFactory : public ModuleFactory -{ - public: - ModuleZLibFactory() - { - } - - ~ModuleZLibFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleZLib(Me); - } -}; - +MODULE_INIT(ModuleZLib); -extern "C" void * init_module( void ) -{ - return new ModuleZLibFactory; -} -- cgit v1.2.3