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