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