aboutsummaryrefslogtreecommitdiff
path: root/src/modulemanager.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-09-03 14:26:31 +0100
committerGravatar Sadie Powell2022-09-03 15:48:34 +0100
commit57184334322233774a77827eed49811f75f4954c (patch)
treeb54594b87df27e345df95c462191fa1ab4f72c36 /src/modulemanager.cpp
parentMerge branch 'insp3' into master. (diff)
Clean up the Windows build process and remove some legacy code.
Diffstat (limited to 'src/modulemanager.cpp')
-rw-r--r--src/modulemanager.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/modulemanager.cpp b/src/modulemanager.cpp
index 969a65d1e..67b5ec2a5 100644
--- a/src/modulemanager.cpp
+++ b/src/modulemanager.cpp
@@ -26,13 +26,12 @@
#include <filesystem>
#include <iostream>
+#include <rang/rang.hpp>
+
#include "inspircd.h"
#include "dynamic.h"
#include "exitcodes.h"
-// Needs to be included after inspircd.h to avoid reincluding winsock.
-#include <rang/rang.hpp>
-
bool ModuleManager::Load(const std::string& modname, bool defer)
{
/* Don't allow people to specify paths for modules, it doesn't work as expected */