diff options
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r-- | src/modules/m_noinvite.cpp | 25 |
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index 219c1c78f..83331ed8e 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -85,27 +85,4 @@ class ModuleNoInvite : public Module } }; - -class ModuleNoInviteFactory : public ModuleFactory -{ - public: - ModuleNoInviteFactory() - { - } - - ~ModuleNoInviteFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleNoInvite(Me); - } -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleNoInviteFactory; -} - +MODULE_INIT(ModuleNoInvite); |