From 5ab6dbb65ea86edca348ca5b679308e0a9924c97 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:31:40 +0000 Subject: Conversions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7354 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_hidechans.cpp | 23 +---------------------- 1 file changed, 1 insertion(+), 22 deletions(-) (limited to 'src/modules/m_hidechans.cpp') diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp index 976d8bb49..44d503ff3 100644 --- a/src/modules/m_hidechans.cpp +++ b/src/modules/m_hidechans.cpp @@ -91,26 +91,5 @@ class ModuleHideChans : public Module } }; -class ModuleHideChansFactory : public ModuleFactory -{ - public: - ModuleHideChansFactory() - { - } - - ~ModuleHideChansFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleHideChans(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleHideChansFactory; -} +MODULE_INIT(ModuleHideChans); -- cgit v1.2.3