summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modmanager_dynamic.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/modmanager_dynamic.cpp b/src/modmanager_dynamic.cpp
index 0c63eefcd..d30f9f595 100644
--- a/src/modmanager_dynamic.cpp
+++ b/src/modmanager_dynamic.cpp
@@ -44,6 +44,8 @@ bool ModuleManager::Load(const char* filename)
dirent* entry = NULL;
while (0 != (entry = readdir(library)))
{
+ if (entry->d_name[0] == '.')
+ continue;
if (InspIRCd::Match(entry->d_name, filename, ascii_case_insensitive_map))
{
if (!this->Load(entry->d_name))