summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-03-05 08:39:42 +0000
committerSadie Powell <sadie@witchery.services>2021-03-05 09:17:13 +0000
commit2ba32afa9a9aca7c82966b66bda16c3c3dbfbba5 (patch)
tree74d565304ac68244d655a257ce27fe8a920fe510 /src
parent9d26c40d1bd8ab4691619ebc0447d29281463cb1 (diff)
Fix a bunch of really obvious unnecessary includes.
Diffstat (limited to 'src')
-rw-r--r--src/base.cpp2
-rw-r--r--src/helperfuncs.cpp2
-rw-r--r--src/modules/m_regex_glob.cpp2
3 files changed, 2 insertions, 4 deletions
diff --git a/src/base.cpp b/src/base.cpp
index 1f9ba3264..17c619fbe 100644
--- a/src/base.cpp
+++ b/src/base.cpp
@@ -25,7 +25,7 @@
#include "inspircd.h"
#include "base.h"
-#include <time.h>
+
#ifdef INSPIRCD_ENABLE_RTTI
#include <typeinfo>
#endif
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 7ce5fa454..800d147eb 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -35,8 +35,6 @@
#include "inspircd.h"
#include "xline.h"
-#include "exitcodes.h"
-#include <iostream>
/* Find a user record by nickname and return a pointer to it */
User* InspIRCd::FindNick(const std::string &nick)
diff --git a/src/modules/m_regex_glob.cpp b/src/modules/m_regex_glob.cpp
index 3f0b5ac11..1b62bbebb 100644
--- a/src/modules/m_regex_glob.cpp
+++ b/src/modules/m_regex_glob.cpp
@@ -23,8 +23,8 @@
*/
-#include "modules/regex.h"
#include "inspircd.h"
+#include "modules/regex.h"
class GlobRegex : public Regex
{