summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 36d2ea1be..61682c26f 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -144,7 +144,7 @@ class ModuleMsgFlood : public Module
{
if (!c->GetExt("flood"))
{
- floodsettings *f = new floodsettings(ban,nlines,nsecs);
+ floodsettings *f = new floodsettings(ban,nsecs,nlines);
c->Extend("flood",(char*)f);
}
}