summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-11 19:22:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-04-11 19:22:25 +0000
commit937769bcf5f772b5ea1a581b0e134fc9f2e2334b (patch)
tree6975ace1ce822843c364deb4026e224247211396
parent3ecf9eb7419ad0c89716819b8dc51a423bfe1613 (diff)
Stoopid bloody linux
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1049 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--src/inspircd.cpp2
1 files changed, 1 insertions, 1 deletions
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[]");