summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-05 11:22:50 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-09-05 11:22:50 +0000
commit739c665e2cd75584f3711d7570cebafde4878fd7 (patch)
treee60e9d5066ea991e03f151d33b70c49357a14854
parentd27af79ee06388dc6d1ab31d95348a38cdfbeb91 (diff)
mysql's windows build is utter hell to get working the way we wanted. The packaged libs provided by mysql AB are built against statically linked libraries and for vs2003. These dont work with inspircd using dynamically linked runtime and they dont work on vs2005 or 2008! Have had to roll my own MySQL on windows which was annoying as it wouldnt compile and was missing libraries and include files, we will have to bundle our own mysql dll built for the right visual studio and right runtimes. All the headers etc fixed to build in windows. Not tested with a real db connection yet, just compiles.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10394 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules.cpp2
-rw-r--r--src/modules/extra/m_ldapauth.cpp2
-rw-r--r--src/modules/extra/m_ldapoper.cpp2
-rw-r--r--src/modules/extra/m_mssql.cpp2
-rw-r--r--src/modules/extra/m_pgsql.cpp2
-rw-r--r--src/modules/extra/m_sqlauth.cpp2
-rw-r--r--src/modules/extra/m_sqlite3.cpp2
-rw-r--r--src/modules/extra/m_sqllog.cpp2
-rw-r--r--src/modules/extra/m_sqloper.cpp2
-rw-r--r--src/modules/extra/m_sqlutils.cpp2
-rw-r--r--src/modules/extra/m_testclient.cpp2
-rw-r--r--src/modules/extra/m_ziplink.cpp2
12 files changed, 12 insertions, 12 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index b44b2504d..06fcf76d5 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -106,7 +106,7 @@ std::string Event::GetEventID()
Module::Module(InspIRCd* Me) : ServerInstance(Me) { }
Module::~Module() { }
-int Module::OnSendSnotice(char &snomask, std::string &type, const std::string &message) { return 0; }
+int Module::OnSendSnotice(char &snomask, std::string &type, const std::string &message) { return 0; }
void Module::OnUserConnect(User*) { }
void Module::OnUserQuit(User*, const std::string&, const std::string&) { }
void Module::OnUserDisconnect(User*) { }
diff --git a/src/modules/extra/m_ldapauth.cpp b/src/modules/extra/m_ldapauth.cpp
index 39a3b67b1..603ea8638 100644
--- a/src/modules/extra/m_ldapauth.cpp
+++ b/src/modules/extra/m_ldapauth.cpp
@@ -47,7 +47,7 @@ class ModuleLDAPAuth : public Module
public:
ModuleLDAPAuth(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
conn = NULL;
Implementation eventlist[] = { I_OnUserDisconnect, I_OnCheckReady, I_OnRehash, I_OnUserRegister };
diff --git a/src/modules/extra/m_ldapoper.cpp b/src/modules/extra/m_ldapoper.cpp
index 79cc9aca4..f7b947db7 100644
--- a/src/modules/extra/m_ldapoper.cpp
+++ b/src/modules/extra/m_ldapoper.cpp
@@ -42,7 +42,7 @@ class ModuleLDAPAuth : public Module
public:
ModuleLDAPAuth(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
conn = NULL;
Implementation eventlist[] = { I_OnRehash, I_OnPassCompare };
diff --git a/src/modules/extra/m_mssql.cpp b/src/modules/extra/m_mssql.cpp
index 93f70a18e..97e5157b0 100644
--- a/src/modules/extra/m_mssql.cpp
+++ b/src/modules/extra/m_mssql.cpp
@@ -616,7 +616,7 @@ class ModuleMsSQL : public Module
public:
ModuleMsSQL(InspIRCd* Me)
- : Module::Module(Me), currid(0)
+ : Module(Me), currid(0)
{
ServerInstance->Modules->UseInterface("SQLutils");
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index 455f9b7a2..be8598e02 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -721,7 +721,7 @@ class ModulePgSQL : public Module
public:
ModulePgSQL(InspIRCd* Me)
- : Module::Module(Me), currid(0)
+ : Module(Me), currid(0)
{
ServerInstance->Modules->UseInterface("SQLutils");
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index c81caa082..ffaf6e605 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -36,7 +36,7 @@ class ModuleSQLAuth : public Module
public:
ModuleSQLAuth(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
ServerInstance->Modules->UseInterface("SQLutils");
ServerInstance->Modules->UseInterface("SQL");
diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp
index 1387adf2d..eec04430f 100644
--- a/src/modules/extra/m_sqlite3.cpp
+++ b/src/modules/extra/m_sqlite3.cpp
@@ -481,7 +481,7 @@ class ModuleSQLite3 : public Module
public:
ModuleSQLite3(InspIRCd* Me)
- : Module::Module(Me), currid(0)
+ : Module(Me), currid(0)
{
ServerInstance->Modules->UseInterface("SQLutils");
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp
index 829bd159d..71a83e371 100644
--- a/src/modules/extra/m_sqllog.cpp
+++ b/src/modules/extra/m_sqllog.cpp
@@ -185,7 +185,7 @@ class ModuleSQLLog : public Module
public:
ModuleSQLLog(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
ServerInstance->Modules->UseInterface("SQLutils");
ServerInstance->Modules->UseInterface("SQL");
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 7fe3d8aaa..ca6a2149e 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -38,7 +38,7 @@ class ModuleSQLOper : public Module
public:
ModuleSQLOper(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
ServerInstance->Modules->UseInterface("SQLutils");
ServerInstance->Modules->UseInterface("SQL");
diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp
index 2c0b5f278..30ac64cc7 100644
--- a/src/modules/extra/m_sqlutils.cpp
+++ b/src/modules/extra/m_sqlutils.cpp
@@ -35,7 +35,7 @@ private:
public:
ModuleSQLutils(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
ServerInstance->Modules->PublishInterface("SQLutils", this);
Implementation eventlist[] = { I_OnChannelDelete, I_OnUnloadModule, I_OnRequest, I_OnUserDisconnect };
diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp
index 0981acc06..8a6cf876f 100644
--- a/src/modules/extra/m_testclient.cpp
+++ b/src/modules/extra/m_testclient.cpp
@@ -25,7 +25,7 @@ private:
public:
ModuleTestClient(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
Implementation eventlist[] = { I_OnRequest, I_OnBackgroundTimer };
ServerInstance->Modules->Attach(eventlist, this, 2);
diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp
index 3fb768757..8096dca94 100644
--- a/src/modules/extra/m_ziplink.cpp
+++ b/src/modules/extra/m_ziplink.cpp
@@ -63,7 +63,7 @@ class ModuleZLib : public Module
public:
ModuleZLib(InspIRCd* Me)
- : Module::Module(Me)
+ : Module(Me)
{
ServerInstance->Modules->PublishInterface("BufferedSocketHook", this);