diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 19:53:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-11-04 19:53:58 +0000 |
commit | 17137ac101cf2e1b9c57616148f2244aad376161 (patch) | |
tree | b0eda1294ae52b7c13bb1c547ed0481e1798c6a0 /src/modules.cpp | |
parent | d6a3643a4b38cf7ac71ead3bc43ef6cba8dd6946 (diff) |
Change this, risking a crash otherwise
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8518 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 29c185f1a..354d9877e 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -191,7 +191,7 @@ void Module::OnText(User*, void*, int, const std::string&, char, CUList&) { } ModuleManager::ModuleManager(InspIRCd* Ins) : ModCount(0), Instance(Ins) { - for (int n = I_BEGIN + 1; n != I_END; ++n) + for (int n = I_BEGIN; n != I_END; ++n) EventHandlers.push_back(std::vector<Module*>()); } |