summaryrefslogtreecommitdiff
path: root/src/modules/m_censor.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:16:07 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:16:07 +0000
commitf901c996b97c6d20d776ae2e916fcd75131d13db (patch)
treebd7101c4d440738bf930cbcb560378a9d9b01550 /src/modules/m_censor.cpp
parent94d578f4c04a518380504f78c3b7d34e28b4166e (diff)
More conversions
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7349 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_censor.cpp')
-rw-r--r--src/modules/m_censor.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/m_censor.cpp b/src/modules/m_censor.cpp
index 37c23566d..7fea6be06 100644
--- a/src/modules/m_censor.cpp
+++ b/src/modules/m_censor.cpp
@@ -193,28 +193,4 @@ class ModuleCensor : public Module
};
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleCensorFactory : public ModuleFactory
-{
- public:
- ModuleCensorFactory()
- {
- }
-
- ~ModuleCensorFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleCensor(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleCensorFactory;
-}
+MODULE_INIT(ModuleCensor);