summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-30 18:15:16 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-01-30 18:15:16 +0000
commit430951d92dd1d731f4c34ab898f429c3fa9f5620 (patch)
tree6b25b29b5b9450a1174439c2d02b5bb680c4ea5c /src/inspircd.cpp
parentb2899685a0fa43aeac83f26b722171bacc472980 (diff)
Dont check paths on cygwin
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2986 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r--src/inspircd.cpp2
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))