summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-10 14:25:17 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2008-10-10 14:25:17 +0000
commit24a03cd55b10987ddbf5952d3c1af14c5060fb59 (patch)
tree9e40264ae23b5dbe2ac0be976f4a7e90996e5b82
parent1ccbfbd4136762519f8316809b5e049453654457 (diff)
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
-rw-r--r--src/modules/m_messageflood.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::string> parameters(3);
+ std::vector<std::string> parameters;
parameters.push_back(dest->name);
parameters.push_back("+b");
parameters.push_back(user->MakeWildHost());