diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 14:00:28 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 14:00:28 +0000 |
commit | 8f81017710b608e134d063b40bc2815d39e747f1 (patch) | |
tree | 03420e9a6b79ab5b0c85d2b1921a7a152e70aabb /src | |
parent | 9f7994306aed806218196fe947e59bd6a89a1a30 (diff) |
Conversions. :D
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7366 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_ssl_dummy.cpp | 24 | ||||
-rw-r--r-- | src/modules/m_stripcolor.cpp | 27 | ||||
-rw-r--r-- | src/modules/m_svshold.cpp | 24 |
3 files changed, 3 insertions, 72 deletions
diff --git a/src/modules/m_ssl_dummy.cpp b/src/modules/m_ssl_dummy.cpp index 603a0da0e..2cb420d9b 100644 --- a/src/modules/m_ssl_dummy.cpp +++ b/src/modules/m_ssl_dummy.cpp @@ -81,26 +81,4 @@ class ModuleSSLDummy : public Module } }; -class ModuleSSLDummyFactory : public ModuleFactory -{ - public: - ModuleSSLDummyFactory() - { - } - - ~ModuleSSLDummyFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleSSLDummy(Me); - } -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleSSLDummyFactory; -} - +MODULE_INIT(ModuleSSLDummy); diff --git a/src/modules/m_stripcolor.cpp b/src/modules/m_stripcolor.cpp index f8130336d..25d2f5a49 100644 --- a/src/modules/m_stripcolor.cpp +++ b/src/modules/m_stripcolor.cpp @@ -203,29 +203,4 @@ class ModuleStripColor : public Module }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleStripColorFactory : public ModuleFactory -{ - public: - ModuleStripColorFactory() - { - } - - ~ModuleStripColorFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleStripColor(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleStripColorFactory; -} - +MODULE_INIT(ModuleStripColor); diff --git a/src/modules/m_svshold.cpp b/src/modules/m_svshold.cpp index f53f0441c..a056c9d84 100644 --- a/src/modules/m_svshold.cpp +++ b/src/modules/m_svshold.cpp @@ -279,26 +279,4 @@ class ModuleSVSHold : public Module } }; -class ModuleSVSHoldFactory : public ModuleFactory -{ - public: - ModuleSVSHoldFactory() - { - } - - ~ModuleSVSHoldFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleSVSHold(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleSVSHoldFactory; -} +MODULE_INIT(ModuleSVSHold); |