From a394fd9c5336e0d653312a8879cd38264880f761 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 19 Feb 2006 15:58:47 +0000 Subject: Return false after catching a module exception git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3250 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 0f4a9488e..6a9c68847 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -528,6 +528,7 @@ bool InspIRCd::LoadModule(const char* filename) { log(DEFAULT,"Unable to load %s: ",modfile,modexcept.GetReason()); snprintf(MODERR,MAXBUF,"Factory function threw an exception: %s",modexcept.GetReason()); + return false; } #ifndef STATIC_LINK } -- cgit v1.2.3