summaryrefslogtreecommitdiff
path: root/src/modules/m_antibear.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_antibear.cpp')
-rw-r--r--src/modules/m_antibear.cpp29
1 files changed, 1 insertions, 28 deletions
diff --git a/src/modules/m_antibear.cpp b/src/modules/m_antibear.cpp
index f72d607b5..a5eb5612b 100644
--- a/src/modules/m_antibear.cpp
+++ b/src/modules/m_antibear.cpp
@@ -75,31 +75,4 @@ class ModuleAntiBear : public Module
}
};
-class ModuleAntiBearFactory : public ModuleFactory
-{
- public:
- ModuleAntiBearFactory()
- {
- }
-
- ~ModuleAntiBearFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleAntiBear(Me);
- }
-
-};
-
-
-//
-// The "C" linkage factory0() function creates the ModuleAntiBearFactory
-// class for this library
-//
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleAntiBearFactory;
-}
+MODULE_INIT(ModuleAntiBear);