diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:42:17 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-06-17 13:42:17 +0000 |
commit | f48750e54a87cd95d7673059146177c2d888b050 (patch) | |
tree | ca3feef7b95191a5bf5c01d17f2892b4c20bf9b1 /src/modules/m_nonicks.cpp | |
parent | 3f546994609ed717a63222cb16c5359a09ebff35 (diff) |
Conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7361 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nonicks.cpp')
-rw-r--r-- | src/modules/m_nonicks.cpp | 27 |
1 files changed, 1 insertions, 26 deletions
diff --git a/src/modules/m_nonicks.cpp b/src/modules/m_nonicks.cpp index e7f23e145..7f40c4ac9 100644 --- a/src/modules/m_nonicks.cpp +++ b/src/modules/m_nonicks.cpp @@ -99,29 +99,4 @@ class ModuleNoNickChange : public Module } }; -// stuff down here is the module-factory stuff. For basic modules you can ignore this. - -class ModuleNoNickChangeFactory : public ModuleFactory -{ - public: - ModuleNoNickChangeFactory() - { - } - - ~ModuleNoNickChangeFactory() - { - } - - virtual Module * CreateModule(InspIRCd* Me) - { - return new ModuleNoNickChange(Me); - } - -}; - - -extern "C" DllExport void * init_module( void ) -{ - return new ModuleNoNickChangeFactory; -} - +MODULE_INIT(ModuleNoNickChange); |