From 6ed948b23c91653bb341ad40fffda44f55f25e0f Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 4 Apr 2007 23:21:47 +0000 Subject: Before i was rudely interrupted by a FUCKING *RAM FAILURE*, i was going to commit this patch which fixes the error message given out when a module cant be loaded. Thanks darix for spotting it first. :) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6735 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 7390661dd..8dde14e94 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -800,7 +800,7 @@ bool InspIRCd::LoadModule(const char* filename) } catch (CoreException& modexcept) { - this->Log(DEFAULT,"Unable to load %s: ",modfile,modexcept.GetReason()); + this->Log(DEFAULT,"Unable to load %s: %s",modfile,modexcept.GetReason()); snprintf(MODERR,MAXBUF,"Factory function of %s threw an exception: %s", modexcept.GetSource(), modexcept.GetReason()); return false; } -- cgit v1.2.3