summaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_blockamsg.cpp')
-rw-r--r--src/modules/m_blockamsg.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_blockamsg.cpp b/src/modules/m_blockamsg.cpp
index 1724f0e5f..0164590be 100644
--- a/src/modules/m_blockamsg.cpp
+++ b/src/modules/m_blockamsg.cpp
@@ -188,25 +188,4 @@ class ModuleBlockAmsg : public Module
};
-class ModuleBlockAmsgFactory : public ModuleFactory
-{
- public:
- ModuleBlockAmsgFactory()
- {
- }
-
- ~ModuleBlockAmsgFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleBlockAmsg(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleBlockAmsgFactory;
-}
+MODULE_INIT(ModuleBlockAmsg);