From fa933d7bdcb3e5fecce260f5456a00dda80f21e2 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 4 Oct 2008 21:27:52 +0000 Subject: Header tidyups. Apart from module to module API stuff and external deps, modules dont really need to include much but inspircd.h (and xline.h if they create new xline factories) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10622 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_mysql.cpp | 3 --- src/modules/extra/m_pgsql.cpp | 4 ---- src/modules/extra/m_sqlauth.cpp | 3 --- src/modules/extra/m_sqlite3.cpp | 3 --- src/modules/extra/m_sqllog.cpp | 4 ---- src/modules/extra/m_sqloper.cpp | 5 ----- src/modules/extra/m_sqlutils.cpp | 4 ---- src/modules/extra/m_ssl_oper_cert.cpp | 4 ---- src/modules/extra/m_sslinfo.cpp | 4 ---- src/modules/extra/m_testclient.cpp | 4 ---- src/modules/extra/m_ziplink.cpp | 6 ------ 11 files changed, 44 deletions(-) (limited to 'src/modules/extra') diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp index 0d579a382..a16180ca1 100644 --- a/src/modules/extra/m_mysql.cpp +++ b/src/modules/extra/m_mysql.cpp @@ -16,9 +16,6 @@ #include "inspircd.h" #include -#include "users.h" -#include "channels.h" -#include "modules.h" #include "m_sqlv2.h" #ifdef WINDOWS diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 2b8c218e8..4127ff249 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -15,10 +15,6 @@ #include #include #include -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "configreader.h" #include "m_sqlv2.h" /* $ModDesc: PostgreSQL Service Provider module for all other m_sql* modules, uses v2 of the SQL API */ diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp index ffaf6e605..efbc39825 100644 --- a/src/modules/extra/m_sqlauth.cpp +++ b/src/modules/extra/m_sqlauth.cpp @@ -12,9 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" #include "m_sqlv2.h" #include "m_sqlutils.h" #include "m_hash.h" diff --git a/src/modules/extra/m_sqlite3.cpp b/src/modules/extra/m_sqlite3.cpp index d76bc97fe..d51bc1695 100644 --- a/src/modules/extra/m_sqlite3.cpp +++ b/src/modules/extra/m_sqlite3.cpp @@ -13,9 +13,6 @@ #include "inspircd.h" #include -#include "users.h" -#include "channels.h" -#include "modules.h" #include "m_sqlv2.h" /* $ModDesc: sqlite3 provider */ diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index 71a83e371..e57e40354 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -12,10 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "configreader.h" #include "m_sqlv2.h" static Module* SQLModule; diff --git a/src/modules/extra/m_sqloper.cpp b/src/modules/extra/m_sqloper.cpp index a273e15c1..d937c4336 100644 --- a/src/modules/extra/m_sqloper.cpp +++ b/src/modules/extra/m_sqloper.cpp @@ -12,11 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "configreader.h" - #include "m_sqlv2.h" #include "m_sqlutils.h" #include "m_hash.h" diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp index 30ac64cc7..b76b89366 100644 --- a/src/modules/extra/m_sqlutils.cpp +++ b/src/modules/extra/m_sqlutils.cpp @@ -14,10 +14,6 @@ #include "inspircd.h" #include #include -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "configreader.h" #include "m_sqlutils.h" /* $ModDesc: Provides some utilities to SQL client modules, such as mapping queries to users and channels */ diff --git a/src/modules/extra/m_ssl_oper_cert.cpp b/src/modules/extra/m_ssl_oper_cert.cpp index 6746a4afa..967869d31 100644 --- a/src/modules/extra/m_ssl_oper_cert.cpp +++ b/src/modules/extra/m_ssl_oper_cert.cpp @@ -15,10 +15,6 @@ /* $ModDep: transport.h */ #include "inspircd.h" -#include "inspircd_config.h" -#include "users.h" -#include "channels.h" -#include "modules.h" #include "transport.h" /** Handle /FINGERPRINT diff --git a/src/modules/extra/m_sslinfo.cpp b/src/modules/extra/m_sslinfo.cpp index 11912297d..42e6afed6 100644 --- a/src/modules/extra/m_sslinfo.cpp +++ b/src/modules/extra/m_sslinfo.cpp @@ -12,11 +12,7 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" #include "transport.h" -#include "dns.h" /* $ModDesc: Provides /sslinfo command used to test who a mask matches */ /* $ModDep: transport.h */ diff --git a/src/modules/extra/m_testclient.cpp b/src/modules/extra/m_testclient.cpp index 8a6cf876f..c5c07efc0 100644 --- a/src/modules/extra/m_testclient.cpp +++ b/src/modules/extra/m_testclient.cpp @@ -12,10 +12,6 @@ */ #include "inspircd.h" -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "configreader.h" #include "m_sqlv2.h" class ModuleTestClient : public Module diff --git a/src/modules/extra/m_ziplink.cpp b/src/modules/extra/m_ziplink.cpp index bbc792874..7e1ce8419 100644 --- a/src/modules/extra/m_ziplink.cpp +++ b/src/modules/extra/m_ziplink.cpp @@ -13,13 +13,7 @@ #include "inspircd.h" #include -#include "users.h" -#include "channels.h" -#include "modules.h" -#include "socket.h" -#include "hashcomp.h" #include "transport.h" - #include /* $ModDesc: Provides zlib link support for servers */ -- cgit v1.2.3