From 937769bcf5f772b5ea1a581b0e134fc9f2e2334b Mon Sep 17 00:00:00 2001 From: brain Date: Mon, 11 Apr 2005 19:22:25 +0000 Subject: Stoopid bloody linux git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1049 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index 4cf4bd334..c88e3dfaf 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -3540,7 +3540,7 @@ bool LoadModule(const char* filename) if (factory[MODCOUNT+1]->factory) { bool mextended = false; - while (modules.size() < MODCOUNT+1) + while (modules.size() <= MODCOUNT+1) { modules.push_back(NULL); log(DEFAULT,"Extending modules[]"); -- cgit v1.2.3