summaryrefslogtreecommitdiff
path: root/src/modules/m_testcommand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_testcommand.cpp')
-rw-r--r--src/modules/m_testcommand.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_testcommand.cpp b/src/modules/m_testcommand.cpp
index a32559c68..c0fe10291 100644
--- a/src/modules/m_testcommand.cpp
+++ b/src/modules/m_testcommand.cpp
@@ -102,28 +102,4 @@ class ModuleTestCommand : public Module
}
};
-
-class ModuleTestCommandFactory : public ModuleFactory
-{
- public:
- ModuleTestCommandFactory()
- {
- }
-
- ~ModuleTestCommandFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleTestCommand(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleTestCommandFactory;
-}
-
+MODULE_INIT(ModuleTestCommand);