diff options
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 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[]"); |