From 168f99fc6cb8e1b1d969ff6cab810bddb103ceec Mon Sep 17 00:00:00 2001 From: peavey Date: Sat, 14 Feb 2009 21:47:40 +0000 Subject: 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 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules.cpp') 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]; -- cgit v1.2.3