summaryrefslogtreecommitdiff
path: root/src/modules/m_swhois.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_swhois.cpp')
-rw-r--r--src/modules/m_swhois.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index 0c538d88b..5575354ea 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -255,28 +255,4 @@ class ModuleSWhois : public Module
}
};
-
-class ModuleSWhoisFactory : public ModuleFactory
-{
- public:
- ModuleSWhoisFactory()
- {
- }
-
- ~ModuleSWhoisFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSWhois(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleSWhoisFactory;
-}
-
+MODULE_INIT(ModuleSWhois);