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