summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modules.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp
index 0f7992a38..7effa28f2 100644
--- a/src/modules.cpp
+++ b/src/modules.cpp
@@ -387,7 +387,7 @@ bool ModuleManager::Load(const char* filename)
* to load (but wont abort when it encounters a bad one) and when 1 or
* more modules were actually loaded.
*/
- return (n_match > 0);
+ return (n_match > 0 ? false : true);
}
char modfile[MAXBUF];