From d523f0d4995548ad6d0a21a978c320dab047eb62 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 17 Jun 2007 13:33:44 +0000 Subject: Conversions git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7355 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_inviteexception.cpp | 25 +------------------------ 1 file changed, 1 insertion(+), 24 deletions(-) (limited to 'src/modules/m_inviteexception.cpp') diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 11add8046..042d374bc 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -147,27 +147,4 @@ public: } }; - -class ModuleInviteExceptionFactory : public ModuleFactory -{ - public: - ModuleInviteExceptionFactory() - { - } - - ~ModuleInviteExceptionFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleInviteException(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleInviteExceptionFactory; -} +MODULE_INIT(ModuleInviteException); -- cgit v1.2.3