summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 18:22:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-05-21 18:22:16 +0000
commitc31a4b8b444c460002ea69d2e75f60330897af38 (patch)
tree963e268d05e664bd8433e552605c545c93f6fa9c /src
parent8d660061375b8177ecce6c4e9803714d9fdd4b11 (diff)
Reorder includes, dont worry there is method to my madness (i hope)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7093 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/channels.cpp2
-rw-r--r--src/dynamic.cpp3
-rw-r--r--src/helperfuncs.cpp2
-rw-r--r--src/modules.cpp2
4 files changed, 4 insertions, 5 deletions
diff --git a/src/channels.cpp b/src/channels.cpp
index 2793843c7..11a5c944d 100644
--- a/src/channels.cpp
+++ b/src/channels.cpp
@@ -11,9 +11,9 @@
* ---------------------------------------------------
*/
+#include "inspircd.h"
#include <stdarg.h>
#include "configreader.h"
-#include "inspircd.h"
#include "users.h"
#include "modules.h"
#include "wildcard.h"
diff --git a/src/dynamic.cpp b/src/dynamic.cpp
index ab1e6fa9b..179113cae 100644
--- a/src/dynamic.cpp
+++ b/src/dynamic.cpp
@@ -11,14 +11,13 @@
* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "configreader.h"
#include "dynamic.h"
#ifndef WIN32
#include <dlfcn.h>
#endif
-#include "inspircd.h"
-
DLLManager::DLLManager(InspIRCd* ServerInstance, const char *fname)
{
err = NULL;
diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp
index 03d6879ba..f8ecc3b48 100644
--- a/src/helperfuncs.cpp
+++ b/src/helperfuncs.cpp
@@ -11,6 +11,7 @@
* ---------------------------------------------------
*/
+#include "inspircd.h"
#include <stdarg.h>
#include "configreader.h"
#include "users.h"
@@ -18,7 +19,6 @@
#include "wildcard.h"
#include "mode.h"
#include "xline.h"
-#include "inspircd.h"
#include "exitcodes.h"
static char TIMESTR[26];
diff --git a/src/modules.cpp b/src/modules.cpp
index cc334d4f7..75ec204b5 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -11,6 +11,7 @@
* ---------------------------------------------------
*/
+#include "inspircd.h"
#include "configreader.h"
#include "users.h"
#include "modules.h"
@@ -21,7 +22,6 @@
#include "socketengine.h"
#include "command_parse.h"
#include "dns.h"
-#include "inspircd.h"
// version is a simple class for holding a modules version number
Version::Version(int major, int minor, int revision, int build, int flags, int api_ver)