diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-02-14 21:47:40 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-02-14 21:47:40 +0000 |
commit | 168f99fc6cb8e1b1d969ff6cab810bddb103ceec (patch) | |
tree | c76dacdaba95c2316ba0e955725f6c7d5856c5d0 /src/modules.cpp | |
parent | 7d9cc14d3e91896b38f0228fb63ad02f5c2b61da (diff) |
Make glob patterns in module load work correctly. Fixes bug #724 reported by SnoFox.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11107 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 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]; |