diff --git a/modules/adminlog.cpp b/modules/adminlog.cpp index 930bf779..cf196a71 100644 --- a/modules/adminlog.cpp +++ b/modules/adminlog.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include #include diff --git a/modules/autoattach.cpp b/modules/autoattach.cpp index 97d74ca0..26bd96ee 100644 --- a/modules/autoattach.cpp +++ b/modules/autoattach.cpp @@ -8,7 +8,6 @@ #include #include -#include using std::vector; diff --git a/modules/autocycle.cpp b/modules/autocycle.cpp index 3b50b7b5..83770400 100644 --- a/modules/autocycle.cpp +++ b/modules/autocycle.cpp @@ -7,7 +7,6 @@ */ #include -#include #include using std::vector; diff --git a/modules/autoreply.cpp b/modules/autoreply.cpp index e4b3f736..a5f6695e 100644 --- a/modules/autoreply.cpp +++ b/modules/autoreply.cpp @@ -7,10 +7,8 @@ * by the Free Software Foundation. */ -#include #include #include -#include class CAutoReplyMod : public CModule { public: diff --git a/modules/autovoice.cpp b/modules/autovoice.cpp index fa7b3f32..77b8d0bc 100644 --- a/modules/autovoice.cpp +++ b/modules/autovoice.cpp @@ -7,7 +7,6 @@ */ #include -#include #include using std::map; diff --git a/modules/awaynick.cpp b/modules/awaynick.cpp index c21092b7..5bcad8b2 100644 --- a/modules/awaynick.cpp +++ b/modules/awaynick.cpp @@ -8,7 +8,6 @@ // @todo handle raw 433 (nick in use) #include -#include #include class CAwayNickMod; diff --git a/modules/awaystore.cpp b/modules/awaystore.cpp index 267697bf..81051271 100644 --- a/modules/awaystore.cpp +++ b/modules/awaystore.cpp @@ -16,11 +16,9 @@ #define REQUIRESSL -#include #include #include #include -#include using std::vector; using std::map; diff --git a/modules/blockuser.cpp b/modules/blockuser.cpp index 4b5e15d3..6d1e80fd 100644 --- a/modules/blockuser.cpp +++ b/modules/blockuser.cpp @@ -8,8 +8,6 @@ #include #include -#include -#include using std::vector; diff --git a/modules/bouncedcc.cpp b/modules/bouncedcc.cpp index e0605956..75bc53c0 100644 --- a/modules/bouncedcc.cpp +++ b/modules/bouncedcc.cpp @@ -6,13 +6,8 @@ * by the Free Software Foundation. */ -#include -#include #include #include -#include -#include -#include using std::set; diff --git a/modules/buffextras.cpp b/modules/buffextras.cpp index e6dc7176..796c52b7 100644 --- a/modules/buffextras.cpp +++ b/modules/buffextras.cpp @@ -7,9 +7,7 @@ */ #include -#include #include -#include using std::vector; diff --git a/modules/certauth.cpp b/modules/certauth.cpp index e893349c..3128a2aa 100644 --- a/modules/certauth.cpp +++ b/modules/certauth.cpp @@ -8,9 +8,7 @@ #define REQUIRESSL -#include #include -#include #include using std::map; diff --git a/modules/chansaver.cpp b/modules/chansaver.cpp index c29ee37e..394c7dbe 100644 --- a/modules/chansaver.cpp +++ b/modules/chansaver.cpp @@ -9,7 +9,6 @@ #include #include #include -#include using std::vector; diff --git a/modules/clearbufferonmsg.cpp b/modules/clearbufferonmsg.cpp index de6da2e4..c8718146 100644 --- a/modules/clearbufferonmsg.cpp +++ b/modules/clearbufferonmsg.cpp @@ -8,7 +8,6 @@ #include #include -#include using std::vector; diff --git a/modules/controlpanel.cpp b/modules/controlpanel.cpp index 90e29b1c..6f99a90b 100644 --- a/modules/controlpanel.cpp +++ b/modules/controlpanel.cpp @@ -9,10 +9,8 @@ * by the Free Software Foundation. */ -#include #include #include -#include #include #include diff --git a/modules/cyrusauth.cpp b/modules/cyrusauth.cpp index c7690bf9..43831cb1 100644 --- a/modules/cyrusauth.cpp +++ b/modules/cyrusauth.cpp @@ -11,7 +11,6 @@ * @brief SASL authentication module for znc. */ -#include #include #include diff --git a/modules/dcc.cpp b/modules/dcc.cpp index 07dd3d42..974e5763 100644 --- a/modules/dcc.cpp +++ b/modules/dcc.cpp @@ -7,9 +7,7 @@ */ #include -#include #include -#include #include using std::set; diff --git a/modules/disconkick.cpp b/modules/disconkick.cpp index d4c0ee1d..47b1d6c1 100644 --- a/modules/disconkick.cpp +++ b/modules/disconkick.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include diff --git a/modules/flooddetach.cpp b/modules/flooddetach.cpp index 4b50affa..9775ae22 100644 --- a/modules/flooddetach.cpp +++ b/modules/flooddetach.cpp @@ -7,8 +7,6 @@ */ #include -#include -#include #include using std::map; diff --git a/modules/identfile.cpp b/modules/identfile.cpp index 6d84bcf0..e341beb3 100644 --- a/modules/identfile.cpp +++ b/modules/identfile.cpp @@ -10,7 +10,6 @@ #include #include #include -#include class CIdentFileModule : public CModule { CString m_sOrigISpoof; diff --git a/modules/imapauth.cpp b/modules/imapauth.cpp index faf40616..abfc72e9 100644 --- a/modules/imapauth.cpp +++ b/modules/imapauth.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include using std::map; diff --git a/modules/keepnick.cpp b/modules/keepnick.cpp index 2c211bc3..ad40b1fe 100644 --- a/modules/keepnick.cpp +++ b/modules/keepnick.cpp @@ -6,8 +6,6 @@ * by the Free Software Foundation. */ -#include -#include #include #include diff --git a/modules/lastseen.cpp b/modules/lastseen.cpp index 2bf4bf45..11f0a03c 100644 --- a/modules/lastseen.cpp +++ b/modules/lastseen.cpp @@ -7,7 +7,6 @@ */ #include -#include #include using std::map; diff --git a/modules/listsockets.cpp b/modules/listsockets.cpp index 3546e4ac..1d9df238 100644 --- a/modules/listsockets.cpp +++ b/modules/listsockets.cpp @@ -6,10 +6,8 @@ * by the Free Software Foundation. */ -#include #include #include -#include class CSocketSorter { public: diff --git a/modules/modtcl.cpp b/modules/modtcl.cpp index bfb00adf..9a20af6d 100644 --- a/modules/modtcl.cpp +++ b/modules/modtcl.cpp @@ -8,11 +8,9 @@ #include #include -#include #include #include #include -#include #include diff --git a/modules/notes.cpp b/modules/notes.cpp index c0471d6c..5d2880a4 100644 --- a/modules/notes.cpp +++ b/modules/notes.cpp @@ -6,14 +6,7 @@ * by the Free Software Foundation. */ -#include -#include -#include -#include -#include #include -#include -#include using std::stringstream; diff --git a/modules/partyline.cpp b/modules/partyline.cpp index 5540f35c..adb7d18d 100644 --- a/modules/partyline.cpp +++ b/modules/partyline.cpp @@ -7,7 +7,6 @@ */ #include -#include #include using std::set; diff --git a/modules/perform.cpp b/modules/perform.cpp index 1f443426..50a4edbe 100644 --- a/modules/perform.cpp +++ b/modules/perform.cpp @@ -6,9 +6,7 @@ * by the Free Software Foundation. */ -#include #include -#include class CPerform : public CModule { void Add(const CString& sCommand) { diff --git a/modules/q.cpp b/modules/q.cpp index fc3bcdea..b859fd55 100644 --- a/modules/q.cpp +++ b/modules/q.cpp @@ -6,11 +6,9 @@ * by the Free Software Foundation. */ -#include #include #include #include -#include #include using std::set; diff --git a/modules/raw.cpp b/modules/raw.cpp index 242c132b..bc528ddc 100644 --- a/modules/raw.cpp +++ b/modules/raw.cpp @@ -7,7 +7,6 @@ */ #include -#include class CRawMod : public CModule { public: diff --git a/modules/route_replies.cpp b/modules/route_replies.cpp index bd8889f9..ae26a54d 100644 --- a/modules/route_replies.cpp +++ b/modules/route_replies.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include diff --git a/modules/sample.cpp b/modules/sample.cpp index b3b4aa33..d82ac77a 100644 --- a/modules/sample.cpp +++ b/modules/sample.cpp @@ -8,7 +8,6 @@ #include #include -#include #include using std::vector; diff --git a/modules/sasl.cpp b/modules/sasl.cpp index ebc9a623..cd833f7f 100644 --- a/modules/sasl.cpp +++ b/modules/sasl.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include diff --git a/modules/savebuff.cpp b/modules/savebuff.cpp index 45b7bc98..2171904c 100644 --- a/modules/savebuff.cpp +++ b/modules/savebuff.cpp @@ -16,10 +16,8 @@ #include #include -#include #include #include -#include using std::vector; diff --git a/modules/schat.cpp b/modules/schat.cpp index f7cc72ae..c69442e0 100644 --- a/modules/schat.cpp +++ b/modules/schat.cpp @@ -14,8 +14,6 @@ #include #include #include -#include -#include using std::pair; using std::stringstream; diff --git a/modules/send_raw.cpp b/modules/send_raw.cpp index 5cefe708..d436e22f 100644 --- a/modules/send_raw.cpp +++ b/modules/send_raw.cpp @@ -8,7 +8,6 @@ #include #include -#include using std::vector; using std::map; diff --git a/modules/watch.cpp b/modules/watch.cpp index 2f8d9f02..f4c110d2 100644 --- a/modules/watch.cpp +++ b/modules/watch.cpp @@ -7,10 +7,7 @@ */ #include -#include #include -#include -#include using std::list; using std::vector; diff --git a/modules/webadmin.cpp b/modules/webadmin.cpp index fad9d793..8a56195c 100644 --- a/modules/webadmin.cpp +++ b/modules/webadmin.cpp @@ -7,18 +7,10 @@ */ #include -#include #include -#include #include -#include -#include -#include -#include #include #include -#include -#include using std::stringstream; using std::make_pair; diff --git a/src/Buffer.cpp b/src/Buffer.cpp index ddc0a42a..8e5bd737 100644 --- a/src/Buffer.cpp +++ b/src/Buffer.cpp @@ -6,9 +6,7 @@ * by the Free Software Foundation. */ -#include #include -#include #include CBufLine::CBufLine(const CString& sFormat, const CString& sText, const timeval* ts) { diff --git a/src/Chan.cpp b/src/Chan.cpp index f0bc26ab..c7be322c 100644 --- a/src/Chan.cpp +++ b/src/Chan.cpp @@ -7,11 +7,9 @@ */ #include -#include #include #include #include -#include #include using std::set; diff --git a/src/Client.cpp b/src/Client.cpp index fb8ce34e..666dfe52 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -6,14 +6,10 @@ * by the Free Software Foundation. */ -#include #include -#include #include #include #include -#include -#include using std::vector; diff --git a/src/ClientCommand.cpp b/src/ClientCommand.cpp index 417bde35..c8a31c86 100644 --- a/src/ClientCommand.cpp +++ b/src/ClientCommand.cpp @@ -6,15 +6,12 @@ * by the Free Software Foundation. */ -#include #include #include #include #include -#include #include #include -#include using std::vector; using std::set; diff --git a/src/Csocket.cpp b/src/Csocket.cpp index 81c1d9b2..93482b12 100644 --- a/src/Csocket.cpp +++ b/src/Csocket.cpp @@ -49,7 +49,6 @@ #include #endif /* HAVE_LIBSSL */ -#include #define CS_SRANDBUFFER 128 diff --git a/src/FileUtils.cpp b/src/FileUtils.cpp index a8259aad..1a5afb1b 100644 --- a/src/FileUtils.cpp +++ b/src/FileUtils.cpp @@ -9,8 +9,6 @@ #include #include #include -#include -#include #include #include #include diff --git a/src/HTTPSock.cpp b/src/HTTPSock.cpp index fb0e5ff0..92888b0b 100644 --- a/src/HTTPSock.cpp +++ b/src/HTTPSock.cpp @@ -6,13 +6,9 @@ * by the Free Software Foundation. */ -#include #include -#include #include -#include -#include using std::map; using std::set; diff --git a/src/IRCNetwork.cpp b/src/IRCNetwork.cpp index 7257ed68..334b2cda 100644 --- a/src/IRCNetwork.cpp +++ b/src/IRCNetwork.cpp @@ -7,15 +7,12 @@ */ #include -#include #include #include #include -#include #include #include #include -#include using std::vector; using std::set; diff --git a/src/IRCSock.cpp b/src/IRCSock.cpp index c42acff7..9a6ae1fd 100644 --- a/src/IRCSock.cpp +++ b/src/IRCSock.cpp @@ -8,10 +8,8 @@ #include #include -#include #include #include -#include #include using std::set; diff --git a/src/Listener.cpp b/src/Listener.cpp index a8d3dd3f..4fea68b5 100644 --- a/src/Listener.cpp +++ b/src/Listener.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include CListener::~CListener() { diff --git a/src/Nick.cpp b/src/Nick.cpp index 3a6a064a..ed24ba70 100644 --- a/src/Nick.cpp +++ b/src/Nick.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include #include diff --git a/src/Socket.cpp b/src/Socket.cpp index 96aac70a..2ac7da39 100644 --- a/src/Socket.cpp +++ b/src/Socket.cpp @@ -6,11 +6,8 @@ * by the Free Software Foundation. */ -#include -#include #include #include -#include #include /* We should need 2 DNS threads (host, bindhost) per IRC connection */ diff --git a/src/Template.cpp b/src/Template.cpp index 278c3057..94c4f3de 100644 --- a/src/Template.cpp +++ b/src/Template.cpp @@ -9,7 +9,6 @@ #include #include #include -#include #include using std::stringstream; diff --git a/src/User.cpp b/src/User.cpp index 9da76a00..763288d1 100644 --- a/src/User.cpp +++ b/src/User.cpp @@ -7,14 +7,10 @@ */ #include -#include #include #include #include #include -#include -#include -#include #include using std::vector; diff --git a/src/Utils.cpp b/src/Utils.cpp index d12ffa0f..dd933dd4 100644 --- a/src/Utils.cpp +++ b/src/Utils.cpp @@ -7,17 +7,11 @@ */ #include -#include -#include #include #include -#include #ifdef HAVE_LIBSSL #include #endif /* HAVE_LIBSSL */ -#include -#include -#include #include // Required with GCC 4.3+ if openssl is disabled diff --git a/src/ZNCString.cpp b/src/ZNCString.cpp index e0f1a590..1ac49da8 100644 --- a/src/ZNCString.cpp +++ b/src/ZNCString.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include #include #include #include diff --git a/src/main.cpp b/src/main.cpp index 3f3913f4..1c9f578d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,8 +7,6 @@ */ #include -#include -#include #include using std::cout; diff --git a/src/version.cpp b/src/version.cpp index aa398c7f..a616aed3 100644 --- a/src/version.cpp +++ b/src/version.cpp @@ -1,4 +1,3 @@ -#include #ifdef VERSION_EXTRA const char* ZNC_VERSION_EXTRA = VERSION_EXTRA; diff --git a/src/znc.cpp b/src/znc.cpp index ec0b4bb5..c2a9432b 100644 --- a/src/znc.cpp +++ b/src/znc.cpp @@ -6,14 +6,11 @@ * by the Free Software Foundation. */ -#include -#include #include #include #include #include #include -#include #include using std::endl; diff --git a/test/ConfigTest.cpp b/test/ConfigTest.cpp index 38f240ea..48aa9567 100644 --- a/test/ConfigTest.cpp +++ b/test/ConfigTest.cpp @@ -9,7 +9,6 @@ #include "znc/ZNCDebug.h" #include "znc/FileUtils.h" #include "znc/Config.h" -#include class CConfigTest { public: diff --git a/test/EscapeTest.cpp b/test/EscapeTest.cpp index 77759105..9121281f 100644 --- a/test/EscapeTest.cpp +++ b/test/EscapeTest.cpp @@ -6,7 +6,6 @@ * by the Free Software Foundation. */ -#include "znc/ZNCString.h" #include "znc/ZNCDebug.h" static int testEqual(const CString& a, const CString& b, const CString& what)