diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-18 18:25:56 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-04-18 18:25:56 +0000 |
commit | 955dfd805df45f63aba037bcb506e1071afd54ef (patch) | |
tree | 7c33a2f1e84f882ae4df513c4a7b6c85864b5d5b /src/modules.cpp | |
parent | 2b51823f8d4ae1bd84a4e8d9d9d0ac0858f88bf1 (diff) |
Apply patches to remove 200-odd dll limit on windows, made by GreenReaper, lots of thanks!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9533 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index 41e4e2606..df6876b1a 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -356,7 +356,7 @@ bool ModuleManager::Load(const char* filename) { /* Try and locate and load all modules matching the pattern */ dirent* entry = NULL; - while ((entry = readdir(library))) + while (0 != (entry = readdir(library))) { if (Instance->MatchText(entry->d_name, filename)) { |