summaryrefslogtreecommitdiff
path: root/src/modules/m_uhnames.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_uhnames.cpp')
-rw-r--r--src/modules/m_uhnames.cpp24
1 files changed, 1 insertions, 23 deletions
diff --git a/src/modules/m_uhnames.cpp b/src/modules/m_uhnames.cpp
index 3bcfdd2dd..376e1d7d2 100644
--- a/src/modules/m_uhnames.cpp
+++ b/src/modules/m_uhnames.cpp
@@ -94,27 +94,5 @@ class ModuleUHNames : public Module
}
};
-
-class ModuleUHNamesFactory : public ModuleFactory
-{
- public:
- ModuleUHNamesFactory()
- {
- }
-
- ~ModuleUHNamesFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleUHNames(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleUHNamesFactory;
-}
+MODULE_INIT(ModuleUHNames);