summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:35:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 13:35:07 +0000
commit7d68395f914977f34ea4032e94a5c21700d59cce (patch)
treedb2b62ad60de7b053a0de18ecd59726c218bd505 /src/modules/extra/m_mysql.cpp
parentd523f0d4995548ad6d0a21a978c320dab047eb62 (diff)
More
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7356 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp26
1 files changed, 1 insertions, 25 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 1b83617d6..6605bed3c 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -885,29 +885,5 @@ void* DispatcherThread(void* arg)
return NULL;
}
+MODULE_INIT(ModuleSQL);
-// stuff down here is the module-factory stuff. For basic modules you can ignore this.
-
-class ModuleSQLFactory : public ModuleFactory
-{
- public:
- ModuleSQLFactory()
- {
- }
-
- ~ModuleSQLFactory()
- {
- }
-
- virtual Module * CreateModule(InspIRCd* Me)
- {
- return new ModuleSQL(Me);
- }
-
-};
-
-
-extern "C" void * init_module( void )
-{
- return new ModuleSQLFactory;
-}