diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-14 22:12:53 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-10-14 22:12:53 +0000 |
commit | 56e1f95a114c2f12bb3e7a00d902d45c6ded2ade (patch) | |
tree | f3ec29a8d0ea98d148ff7b97830dcc613147002e /src/modules.cpp | |
parent | 45776df702235ec38625403778daff4c7aed4e4e (diff) |
Fix the 'total of -1 modules have been loaded' due to new loader
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8197 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules.cpp')
-rw-r--r-- | src/modules.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules.cpp b/src/modules.cpp index b236977cc..563e06c28 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -598,7 +598,7 @@ void ModuleManager::LoadAll() Instance->Exit(EXIT_STATUS_MODULE); } } - printf_c("\nA total of \033[1;32m%d\033[0m module%s been loaded.\n", this->GetCount(), this->GetCount() == 1 ? " has" : "s have"); + printf_c("\nA total of \033[1;32m%d\033[0m module%s been loaded.\n", (this->GetCount()+1), (this->GetCount()+1) == 1 ? " has" : "s have"); Instance->Log(DEFAULT,"Total loaded modules: %d", this->GetCount()); } |