summaryrefslogtreecommitdiff
path: root/src/modules/m_nokicks.cpp
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:40:02 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:40:02 +0000
commit3f546994609ed717a63222cb16c5359a09ebff35 (patch)
treef2159898ef24a7149dc638de1acb466a73c99f58 /src/modules/m_nokicks.cpp
parentaaeea36f436c54b6038c9ae9005247002508cf09 (diff)
More conversions.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7360 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_nokicks.cpp')
-rw-r--r--src/modules/m_nokicks.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_nokicks.cpp b/src/modules/m_nokicks.cpp
index e5a37ed62..216fa3ae2 100644
--- a/src/modules/m_nokicks.cpp
+++ b/src/modules/m_nokicks.cpp
@@ -102,27 +102,4 @@ class ModuleNoKicks : public Module
};
-class ModuleNoKicksFactory : public ModuleFactory
-{
- public:
- ModuleNoKicksFactory()
- {
- }
-
- ~ModuleNoKicksFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleNoKicks(Me);
- }
-
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleNoKicksFactory;
-}
-
+MODULE_INIT(ModuleNoKicks);