summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_testclient.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:12 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:12 +0000
commit61db2bd6670445b282472b526b9b247921e63d1d (patch)
treece314a9ef339edb52341e6c573880d12ba937d40 /src/modules/extra/m_testclient.cpp
parentc366e5d2723e5283547639bef8c50ffdc53cca20 (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7346 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_testclient.cpp')
-rw-r--r--src/modules/extra/m_testclient.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index 670533dc3..f4e58b7b5 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -106,25 +106,5 @@ public:
}
};
-class ModuleTestClientFactory : public ModuleFactory
-{
- public:
- ModuleTestClientFactory()
- {
- }
-
- ~ModuleTestClientFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleTestClient(Me);
- }
-};
-
+MODULE_INIT(ModuleTestClient);
-extern "C" void * init_module( void )
-{
- return new ModuleTestClientFactory;
-}