summaryrefslogtreecommitdiff
path: root/src/modules/m_blockamsg.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:38 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:13:38 +0000
commitbfdf503e5204ba17479084e688a3605dbc9007a2 (patch)
tree17add23cbf6d9f29d21d5ab6cd1727e98af821f9 /src/modules/m_blockamsg.cpp
parent61db2bd6670445b282472b526b9b247921e63d1d (diff)
Convert more modules
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7347 e03df62e-2008-0410-955e-edbf42e46eb7
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);