summaryrefslogtreecommitdiff
path: root/src/modules/m_noinvite.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_noinvite.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_noinvite.cpp')
-rw-r--r--src/modules/m_noinvite.cpp25
1 files changed, 1 insertions, 24 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index 219c1c78f..83331ed8e 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -85,27 +85,4 @@ class ModuleNoInvite : public Module
}
};
-
-class ModuleNoInviteFactory : public ModuleFactory
-{
- public:
- ModuleNoInviteFactory()
- {
- }
-
- ~ModuleNoInviteFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleNoInvite(Me);
- }
-};
-
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleNoInviteFactory;
-}
-
+MODULE_INIT(ModuleNoInvite);