]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Last conversions
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 17 Jun 2007 14:01:36 +0000 (14:01 +0000)
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 17 Jun 2007 14:01:36 +0000 (14:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7367 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules/m_swhois.cpp

index 0c538d88b8b54e1dcf290d1206763dd164dbe6c3..5575354ea9525bd6525e97cebf3db9527149a33d 100644 (file)
@@ -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);