From 430951d92dd1d731f4c34ab898f429c3fa9f5620 Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 30 Jan 2006 18:15:16 +0000 Subject: Dont check paths on cygwin git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2986 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index f5f839d5d..a3297f921 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -451,12 +451,14 @@ 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); snprintf(MODERR,MAXBUF,"Module %s is not within the modules directory.",modfile); return false; } +#endif #endif log(DEBUG,"Loading module: %s",modfile); #ifndef STATIC_LINK -- cgit v1.2.3