summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlutils.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:37:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:37:02 +0000
commitb7a46314af887bc5d2853663e7b2b8ef87c99bad (patch)
treef17374de9c63755e6680db0d8b74fdfba4506dde /src/modules/extra/m_sqlutils.cpp
parent1d0dd686f0fb1ffd53a20da0b8227c5cd6aa6798 (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7358 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqlutils.cpp')
-rw-r--r--src/modules/extra/m_sqlutils.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp
index 8c7cebd1b..b470f99af 100644
--- a/src/modules/extra/m_sqlutils.cpp
+++ b/src/modules/extra/m_sqlutils.cpp
@@ -234,25 +234,5 @@ public:
};
-class ModuleSQLutilsFactory : public ModuleFactory
-{
- public:
- ModuleSQLutilsFactory()
- {
- }
-
- ~ModuleSQLutilsFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSQLutils(Me);
- }
-};
-
+MODULE_INIT(ModuleSQLutils);
-extern "C" void * init_module( void )
-{
- return new ModuleSQLutilsFactory;
-}