summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-04 21:41:26 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-12-04 21:41:26 +0000
commitbcac49dca78631687975771c6d0a76b595171664 (patch)
treeca5940e1ad88f90c7d67119c0a766d6a524b064c
parentb66cd9525637544ed90ffe3fd32e3c24f50cf7a0 (diff)
Update $ModDep lines so that these properly depend on their headers in the makefile
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5853 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/modules/extra/m_mysql.cpp1
-rw-r--r--src/modules/extra/m_pgsql.cpp1
-rw-r--r--src/modules/extra/m_sqlauth.cpp1
-rw-r--r--src/modules/extra/m_sqloper.cpp1
-rw-r--r--src/modules/extra/m_sqlutils.cpp3
-rw-r--r--src/modules/m_cloaking.cpp1
-rw-r--r--src/modules/m_md5.cpp1
-rw-r--r--src/modules/m_opermd5.cpp1
8 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index a3b247f56..ce0644e96 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -31,6 +31,7 @@ using namespace std;
/* $ModDesc: SQL Service Provider module for all other m_sql* modules */
/* $CompileFlags: `mysql_config --include` */
/* $LinkerFlags: `mysql_config --libs_r` `perl extra/mysql_rpath.pl` */
+/* $ModDep: m_sqlv2.h */
/* THE NONBLOCKING MYSQL API!
*
diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp
index ca74f4223..bcae08bea 100644
--- a/src/modules/extra/m_pgsql.cpp
+++ b/src/modules/extra/m_pgsql.cpp
@@ -34,6 +34,7 @@
/* $ModDesc: PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API */
/* $CompileFlags: -I`pg_config --includedir` `perl extra/pgsql_config.pl` */
/* $LinkerFlags: -L`pg_config --libdir` -lpq */
+/* $ModDep: m_sqlv2.h */
/* UGH, UGH, UGH, UGH, UGH, UGH
* I'm having trouble seeing how I
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 3e1162a77..1aba468d4 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -26,6 +26,7 @@
#include "m_sqlutils.h"
/* $ModDesc: Allow/Deny connections based upon an arbitary SQL table */
+/* $ModDep: m_sqlv2.h m_sqlutils.h */
class ModuleSQLAuth : public Module
{
diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp
index 2dc74fe2e..3857e0dcd 100644
--- a/src/modules/extra/m_sqloper.cpp
+++ b/src/modules/extra/m_sqloper.cpp
@@ -26,6 +26,7 @@
#include "commands/cmd_oper.h"
/* $ModDesc: Allows storage of oper credentials in an SQL table */
+/* $ModDep: m_sqlv2.h m_sqlutils.h */
class ModuleSQLOper : public Module
{
diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp
index f35aa2010..512095f60 100644
--- a/src/modules/extra/m_sqlutils.cpp
+++ b/src/modules/extra/m_sqlutils.cpp
@@ -30,8 +30,7 @@
#include "m_sqlutils.h"
/* $ModDesc: Provides some utilities to SQL client modules, such as mapping queries to users and channels */
-
-
+/* $ModDep: m_sqlutils.h */
typedef std::map<unsigned long, userrec*> IdUserMap;
typedef std::map<unsigned long, chanrec*> IdChanMap;
diff --git a/src/modules/m_cloaking.cpp b/src/modules/m_cloaking.cpp
index 243b79ac2..b4cb90aa2 100644
--- a/src/modules/m_cloaking.cpp
+++ b/src/modules/m_cloaking.cpp
@@ -24,6 +24,7 @@
#include "m_md5.h"
/* $ModDesc: Provides masking of user hostnames */
+/* $ModDep: m_md5.h */
static const char* xtab[] = {"F92E45D871BCA630", "A1B9D80C72E653F4", "1ABC078934DEF562", "ABCDEF5678901234"};
diff --git a/src/modules/m_md5.cpp b/src/modules/m_md5.cpp
index 2500e6b36..55e462077 100644
--- a/src/modules/m_md5.cpp
+++ b/src/modules/m_md5.cpp
@@ -15,6 +15,7 @@
*/
/* $ModDesc: Allows for MD5 encrypted oper passwords */
+/* $ModDep: m_md5.h */
using namespace std;
diff --git a/src/modules/m_opermd5.cpp b/src/modules/m_opermd5.cpp
index b20a9362f..6e779f19b 100644
--- a/src/modules/m_opermd5.cpp
+++ b/src/modules/m_opermd5.cpp
@@ -15,6 +15,7 @@
*/
/* $ModDesc: Allows for MD5 encrypted oper passwords */
+/* $ModDep: m_md5.h */
using namespace std;