summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2018-04-07 15:48:30 +0100
committerPeter Powell <petpow@saberuk.com>2018-04-08 17:00:58 +0100
commitc9cdf7255356761152f1e679a948f9bc55e07b00 (patch)
tree36cf8da37e0d3382bd72b6be97d2be059d572cf5
parent454c8d374955d2ffb3ec1fca39a6efc32032c649 (diff)
Include modules/whois.h directly from files that use it.
-rw-r--r--include/inspircd.h1
-rw-r--r--src/coremods/core_whois.cpp1
-rw-r--r--src/modules/extra/m_geoip.cpp1
-rw-r--r--src/modules/m_botmode.cpp1
-rw-r--r--src/modules/m_cgiirc.cpp1
-rw-r--r--src/modules/m_customtitle.cpp1
-rw-r--r--src/modules/m_helpop.cpp1
-rw-r--r--src/modules/m_hidechans.cpp1
-rw-r--r--src/modules/m_hideoper.cpp1
-rw-r--r--src/modules/m_services_account.cpp1
-rw-r--r--src/modules/m_servprotect.cpp1
-rw-r--r--src/modules/m_showwhois.cpp1
-rw-r--r--src/modules/m_sslinfo.cpp1
-rw-r--r--src/modules/m_swhois.cpp1
14 files changed, 13 insertions, 1 deletions
diff --git a/include/inspircd.h b/include/inspircd.h
index 0f73f192f..035eff49c 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -577,4 +577,3 @@ inline void stdalgo::culldeleter::operator()(classbase* item)
}
#include "numericbuilder.h"
-#include "modules/whois.h"
diff --git a/src/coremods/core_whois.cpp b/src/coremods/core_whois.cpp
index ca3b6f733..4ec592781 100644
--- a/src/coremods/core_whois.cpp
+++ b/src/coremods/core_whois.cpp
@@ -20,6 +20,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/extra/m_geoip.cpp b/src/modules/extra/m_geoip.cpp
index b6b0c3fa1..7083be6ac 100644
--- a/src/modules/extra/m_geoip.cpp
+++ b/src/modules/extra/m_geoip.cpp
@@ -28,6 +28,7 @@
#include "inspircd.h"
#include "xline.h"
#include "modules/stats.h"
+#include "modules/whois.h"
// Fix warnings about the use of commas at end of enumerator lists on C++03.
#if defined __clang__
diff --git a/src/modules/m_botmode.cpp b/src/modules/m_botmode.cpp
index 1544562c0..1931666d1 100644
--- a/src/modules/m_botmode.cpp
+++ b/src/modules/m_botmode.cpp
@@ -20,6 +20,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_cgiirc.cpp b/src/modules/m_cgiirc.cpp
index 984c3da04..7d4f671b9 100644
--- a/src/modules/m_cgiirc.cpp
+++ b/src/modules/m_cgiirc.cpp
@@ -25,6 +25,7 @@
#include "inspircd.h"
#include "modules/ssl.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp
index 76d37b9d9..ea07ba7d0 100644
--- a/src/modules/m_customtitle.cpp
+++ b/src/modules/m_customtitle.cpp
@@ -20,6 +20,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_helpop.cpp b/src/modules/m_helpop.cpp
index b8c5d3029..8d129e8f5 100644
--- a/src/modules/m_helpop.cpp
+++ b/src/modules/m_helpop.cpp
@@ -22,6 +22,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_hidechans.cpp b/src/modules/m_hidechans.cpp
index 08caae6b2..1664582e0 100644
--- a/src/modules/m_hidechans.cpp
+++ b/src/modules/m_hidechans.cpp
@@ -19,6 +19,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
/** Handles user mode +I
*/
diff --git a/src/modules/m_hideoper.cpp b/src/modules/m_hideoper.cpp
index 6ecfc6074..2bca0a156 100644
--- a/src/modules/m_hideoper.cpp
+++ b/src/modules/m_hideoper.cpp
@@ -21,6 +21,7 @@
#include "inspircd.h"
#include "modules/stats.h"
+#include "modules/whois.h"
/** Handles user mode +H
*/
diff --git a/src/modules/m_services_account.cpp b/src/modules/m_services_account.cpp
index 6b5f5dacd..c3f7155a6 100644
--- a/src/modules/m_services_account.cpp
+++ b/src/modules/m_services_account.cpp
@@ -25,6 +25,7 @@
#include "inspircd.h"
#include "modules/account.h"
#include "modules/exemption.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_servprotect.cpp b/src/modules/m_servprotect.cpp
index cea056760..a5d7a82e4 100644
--- a/src/modules/m_servprotect.cpp
+++ b/src/modules/m_servprotect.cpp
@@ -20,6 +20,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_showwhois.cpp b/src/modules/m_showwhois.cpp
index b8091d060..ab60dbddb 100644
--- a/src/modules/m_showwhois.cpp
+++ b/src/modules/m_showwhois.cpp
@@ -22,6 +22,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
/** Handle user mode +W
*/
diff --git a/src/modules/m_sslinfo.cpp b/src/modules/m_sslinfo.cpp
index 76fc6ebf0..85e7b77dd 100644
--- a/src/modules/m_sslinfo.cpp
+++ b/src/modules/m_sslinfo.cpp
@@ -19,6 +19,7 @@
#include "inspircd.h"
#include "modules/ssl.h"
+#include "modules/whois.h"
enum
{
diff --git a/src/modules/m_swhois.cpp b/src/modules/m_swhois.cpp
index d8c8a33bb..c7c14e30c 100644
--- a/src/modules/m_swhois.cpp
+++ b/src/modules/m_swhois.cpp
@@ -24,6 +24,7 @@
#include "inspircd.h"
+#include "modules/whois.h"
enum
{