diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:31:40 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:31:40 +0000 |
commit | 5ab6dbb65ea86edca348ca5b679308e0a9924c97 (patch) | |
tree | c12008b46b8acf2b7715eb1adb585c3f3f93514f /src/modules/m_hostchange.cpp | |
parent | 5b3c052062f0976242b36c82cfeae2ed3b23c6b2 (diff) |
Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7354 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_hostchange.cpp')
-rw-r--r-- | src/modules/m_hostchange.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/m_hostchange.cpp b/src/modules/m_hostchange.cpp index cf5c5f96d..d99b95c04 100644 --- a/src/modules/m_hostchange.cpp +++ b/src/modules/m_hostchange.cpp @@ -145,29 +145,4 @@ class ModuleHostChange : public Module } }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleHostChangeFactory : public ModuleFactory -{ - public: - ModuleHostChangeFactory() - { - } - - ~ModuleHostChangeFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleHostChange(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleHostChangeFactory; -} - +MODULE_INIT(ModuleHostChange); |