diff options
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f5f839d5d..a3297f921 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -451,6 +451,7 @@ bool InspIRCd::LoadModule(const char* filename) #endif std::string filename_str = filename; #ifndef STATIC_LINK +#ifndef IS_CYGWIN if (!DirValid(modfile)) { log(DEFAULT,"Module %s is not within the modules directory.",modfile); @@ -458,6 +459,7 @@ bool InspIRCd::LoadModule(const char* filename) return false; } #endif +#endif log(DEBUG,"Loading module: %s",modfile); #ifndef STATIC_LINK if (FileExists(modfile)) |