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