summaryrefslogtreecommitdiff
path: root/src/modules/m_devoice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_devoice.cpp')
-rw-r--r--src/modules/m_devoice.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_devoice.cpp b/src/modules/m_devoice.cpp
index 37ad8e4c6..7c1ffe965 100644
--- a/src/modules/m_devoice.cpp
+++ b/src/modules/m_devoice.cpp
@@ -78,27 +78,4 @@ class ModuleDeVoice : public Module
}
};
-
-class ModuleDeVoiceFactory : public ModuleFactory
-{
- public:
- ModuleDeVoiceFactory()
- {
- }
-
- ~ModuleDeVoiceFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleDeVoice(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleDeVoiceFactory;
-}
+MODULE_INIT(ModuleDeVoice);