summaryrefslogtreecommitdiff
path: root/src/modules/m_spy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_spy.cpp')
-rw-r--r--src/modules/m_spy.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_spy.cpp b/src/modules/m_spy.cpp
index d8843094f..5e54899d0 100644
--- a/src/modules/m_spy.cpp
+++ b/src/modules/m_spy.cpp
@@ -160,27 +160,4 @@ class ModuleSpy : public Module
}
};
-
-class ModuleSpyFactory : public ModuleFactory
-{
- public:
- ModuleSpyFactory()
- {
- }
-
- ~ModuleSpyFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSpy(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSpyFactory;
-}
+MODULE_INIT(ModuleSpy);