summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 18:37:44 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-08-28 18:37:44 +0000
commit609261cf05b1f86db8e0958f3aa1a278ae7f0101 (patch)
treecb2266de168fa97cea536e58c7afcd831c2cd0cf
parent07d406fb3971052f61fc752d43623fad47c84380 (diff)
No idea why this wasn't using MODULE_INIT. Thanks Om.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7969 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/m_operlevels.cpp23
1 files changed, 1 insertions, 22 deletions
diff --git a/src/modules/m_operlevels.cpp b/src/modules/m_operlevels.cpp
index 40e882625..4c4047caa 100644
--- a/src/modules/m_operlevels.cpp
+++ b/src/modules/m_operlevels.cpp
@@ -94,26 +94,5 @@ class ModuleOperLevels : public Module
};
-class ModuleOperLevelsFactory : public ModuleFactory
-{
- public:
- ModuleOperLevelsFactory()
- {
- }
-
- ~ModuleOperLevelsFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleOperLevels(Me);
- }
-
-};
-
-extern "C" DllExport void * init_module( void )
-{
- return new ModuleOperLevelsFactory;
-}
+MODULE_INIT(ModuleOperLevels)