summaryrefslogtreecommitdiff
path: root/src/modules/m_chgident.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:22:53 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:22:53 +0000
commitd99c2c1ea74383a66b36582ccd364802c7223833 (patch)
tree5cc83f6fb9bc588bef29efb44747dc30ddd4f8f4 /src/modules/m_chgident.cpp
parentf901c996b97c6d20d776ae2e916fcd75131d13db (diff)
More factory conversion
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7350 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_chgident.cpp')
-rw-r--r--src/modules/m_chgident.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_chgident.cpp b/src/modules/m_chgident.cpp
index 740eeadf1..21107f124 100644
--- a/src/modules/m_chgident.cpp
+++ b/src/modules/m_chgident.cpp
@@ -76,29 +76,5 @@ public:
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleChgIdentFactory : public ModuleFactory
-{
- public:
- ModuleChgIdentFactory()
- {
- }
-
- ~ModuleChgIdentFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleChgIdent(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleChgIdentFactory;
-}
+MODULE_INIT(ModuleChgIdent);