summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 14:01:36 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 14:01:36 +0000
commita307d212b7acddf1e944a83ce2623820c9a67794 (patch)
tree85e4262fad29ac0b7df96ac33d2ffa5f74402781 /src
parent8f81017710b608e134d063b40bc2815d39e747f1 (diff)
Last conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7367 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-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);