]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Another dodgy count fixed
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 14 Oct 2007 22:33:03 +0000 (22:33 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Sun, 14 Oct 2007 22:33:03 +0000 (22:33 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8200 e03df62e-2008-0410-955e-edbf42e46eb7

src/modules.cpp

index 563e06c28b6498811fb3d9ba43fd007a48f29281..b844bc56bb3230cd628bf9bea822eefd6b678a79 100644 (file)
@@ -599,7 +599,7 @@ void ModuleManager::LoadAll()
                }
        }
        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());
+       Instance->Log(DEFAULT,"Total loaded modules: %d", this->GetCount()+1);
 }
 
 long ModuleManager::PriorityAfter(const std::string &modulename)