summaryrefslogtreecommitdiff
path: root/src/modules/m_vhost.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_vhost.cpp')
-rw-r--r--src/modules/m_vhost.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_vhost.cpp b/src/modules/m_vhost.cpp
index 822867488..949094324 100644
--- a/src/modules/m_vhost.cpp
+++ b/src/modules/m_vhost.cpp
@@ -91,29 +91,5 @@ class ModuleVHost : public Module
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleVHostFactory : public ModuleFactory
-{
- public:
- ModuleVHostFactory()
- {
- }
-
- ~ModuleVHostFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleVHost(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleVHostFactory;
-}
+MODULE_INIT(ModuleVHost);