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