summaryrefslogtreecommitdiff
path: root/src/modules/m_uninvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_uninvite.cpp')
-rw-r--r--src/modules/m_uninvite.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_uninvite.cpp b/src/modules/m_uninvite.cpp
index fe9950e98..6b0a09cdf 100644
--- a/src/modules/m_uninvite.cpp
+++ b/src/modules/m_uninvite.cpp
@@ -103,27 +103,5 @@ class ModuleUninvite : public Module
}
};
+MODULE_INIT(ModuleUninvite);
-class ModuleUninviteFactory : public ModuleFactory
-{
- public:
- ModuleUninviteFactory()
- {
- }
-
- ~ModuleUninviteFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleUninvite(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleUninviteFactory;
-}