diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-04 23:21:47 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-04-04 23:21:47 +0000 |
commit | 6ed948b23c91653bb341ad40fffda44f55f25e0f (patch) | |
tree | 475ac5efc9afbedff28199be3d6f76b1f07a6f01 /src/inspircd.cpp | |
parent | 980e2f294ccb5115e0f0f0e397966f8b35ac596d (diff) |
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
Diffstat (limited to 'src/inspircd.cpp')
-rw-r--r-- | src/inspircd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |