summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 15:58:47 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-19 15:58:47 +0000
commita394fd9c5336e0d653312a8879cd38264880f761 (patch)
tree7fa8b0d10e75ca0ba9bf7e83357af562d357f18b /src/inspircd.cpp
parent756fdc508611c9bc2e2dffe3294cd93ff4d88197 (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/inspircd.cpp')
-rw-r--r--src/inspircd.cpp1
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
}