From 24a03cd55b10987ddbf5952d3c1af14c5060fb59 Mon Sep 17 00:00:00 2001 From: w00t Date: Fri, 10 Oct 2008 14:25:17 +0000 Subject: Fix messageflood not working (bug #615). Big thanks to dz. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10636 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_messageflood.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_messageflood.cpp') diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp index 21b432222..c374c5346 100644 --- a/src/modules/m_messageflood.cpp +++ b/src/modules/m_messageflood.cpp @@ -232,7 +232,7 @@ class ModuleMsgFlood : public Module f->clear(user); if (f->ban) { - std::vector parameters(3); + std::vector parameters; parameters.push_back(dest->name); parameters.push_back("+b"); parameters.push_back(user->MakeWildHost()); -- cgit v1.2.3