diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-19 15:58:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-19 15:58:47 +0000 |
commit | a394fd9c5336e0d653312a8879cd38264880f761 (patch) | |
tree | 7fa8b0d10e75ca0ba9bf7e83357af562d357f18b /src | |
parent | 756fdc508611c9bc2e2dffe3294cd93ff4d88197 (diff) |
Return false after catching a module exception
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3250 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/inspircd.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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 } |