diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:33:44 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:33:44 +0000 |
commit | d523f0d4995548ad6d0a21a978c320dab047eb62 (patch) | |
tree | de5993fcdc9daf34dfdd88b47efd8a2e37f729dc /src | |
parent | 5ab6dbb65ea86edca348ca5b679308e0a9924c97 (diff) |
Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7355 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/m_httpd_stats.cpp | 24 | ||||
-rw-r--r-- | src/modules/m_ident.cpp | 25 | ||||
-rw-r--r-- | src/modules/m_invisible.cpp | 24 | ||||
-rw-r--r-- | src/modules/m_inviteexception.cpp | 25 |
4 files changed, 4 insertions, 94 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 57b0a6e27..491c5fd47 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -238,26 +238,4 @@ class ModuleHttpStats : public Module } }; - -class ModuleHttpStatsFactory : public ModuleFactory -{ - public: - ModuleHttpStatsFactory() - { - } - - ~ModuleHttpStatsFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleHttpStats(Me); - } -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleHttpStatsFactory; -} +MODULE_INIT(ModuleHttpStats); diff --git a/src/modules/m_ident.cpp b/src/modules/m_ident.cpp index eb9f3f365..481d75067 100644 --- a/src/modules/m_ident.cpp +++ b/src/modules/m_ident.cpp @@ -323,27 +323,4 @@ class ModuleIdent : public Module }; -class ModuleIdentFactory : public ModuleFactory -{ - public: - ModuleIdentFactory() - { - } - - ~ModuleIdentFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleIdent(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleIdentFactory; -} - +MODULE_INIT(ModuleIdent); diff --git a/src/modules/m_invisible.cpp b/src/modules/m_invisible.cpp index 96bc705b3..47f950e71 100644 --- a/src/modules/m_invisible.cpp +++ b/src/modules/m_invisible.cpp @@ -274,26 +274,4 @@ class ModuleInvisible : public Module }; -class ModuleInvisibleFactory : public ModuleFactory -{ - public: - ModuleInvisibleFactory() - { - } - - ~ModuleInvisibleFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleInvisible(Me); - } - -}; - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleInvisibleFactory; -} - +MODULE_INIT(ModuleInvisible); diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp index 11add8046..042d374bc 100644 --- a/src/modules/m_inviteexception.cpp +++ b/src/modules/m_inviteexception.cpp @@ -147,27 +147,4 @@ public: } }; - -class ModuleInviteExceptionFactory : public ModuleFactory -{ - public: - ModuleInviteExceptionFactory() - { - } - - ~ModuleInviteExceptionFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleInviteException(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleInviteExceptionFactory; -} +MODULE_INIT(ModuleInviteException); |