summaryrefslogtreecommitdiff
path: root/src/modules/m_invisible.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_invisible.cpp')
-rw-r--r--src/modules/m_invisible.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp
index 96bc705b3..47f950e71 100644
--- a/src/modules/m_invisible.cpp
+++ b/src/modules/m_invisible.cpp
@@ -274,26 +274,4 @@ class ModuleInvisible : public Module
};
-class ModuleInvisibleFactory : public ModuleFactory
-{
- public:
- ModuleInvisibleFactory()
- {
- }
-
- ~ModuleInvisibleFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleInvisible(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleInvisibleFactory;
-}
-
+MODULE_INIT(ModuleInvisible);