From 17137ac101cf2e1b9c57616148f2244aad376161 Mon Sep 17 00:00:00 2001 From: brain Date: Sun, 4 Nov 2007 19:53:58 +0000 Subject: [PATCH] Change this, risking a crash otherwise git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8518 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.39.5