summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_joinflood.cpp1
-rw-r--r--src/modules/m_messageflood.cpp1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/modules/m_joinflood.cpp b/src/modules/m_joinflood.cpp
index 43b45be69..cd233a01c 100644
--- a/src/modules/m_joinflood.cpp
+++ b/src/modules/m_joinflood.cpp
@@ -134,6 +134,7 @@ class JoinFlood : public ModeHandler
{
if (!channel->GetExt("joinflood"))
{
+ parameter = ConvToStr(njoins) + ":" +ConvToStr(nsecs);
joinfloodsettings *f = new joinfloodsettings(nsecs,njoins);
channel->Extend("joinflood",(char*)f);
channel->SetMode('j', true);
diff --git a/src/modules/m_messageflood.cpp b/src/modules/m_messageflood.cpp
index bcec8248b..c2fbe671f 100644
--- a/src/modules/m_messageflood.cpp
+++ b/src/modules/m_messageflood.cpp
@@ -133,6 +133,7 @@ class MsgFlood : public ModeHandler
{
if (!channel->GetExt("flood"))
{
+ parameter = ConvToStr(nlines) + ":" +ConvToStr(nsecs);
floodsettings *f = new floodsettings(ban,nsecs,nlines);
channel->Extend("flood",(char*)f);
channel->SetMode('f', true);